p5-Object-Enum-0.07.3_1.txz


Advertisement

Description

p5-Object-Enum - Replacement for if ($foo eq 'bar')

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest i386
Package filename p5-Object-Enum-0.07.3_1.txz
Package name p5-Object-Enum
Package version 0.07.3
Package release 1
Package architecture i386
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Object-Enum
License GPLv1+, ART10
Maintainer bofh@FreeBSD.org
Download size 8.61 KB
Installed size 15.45 KB
use Object::Enum qw(Enum);
my $color = Enum([ qw(red yellow green) ]);
# ... later
if ($color->is_red) {
# it can't be yellow or green
WWW: https://metacpan.org/release/Object-Enum

Alternatives

Package Version Architecture Repository
p5-Object-Enum-0.07.3_1.txz 0.07.3 i386 FreeBSD Ports Quarterly
p5-Object-Enum-0.07.3_1.txz 0.07.3 amd64 FreeBSD Ports Quarterly
p5-Object-Enum-0.07.3_1.txz 0.07.3 amd64 FreeBSD Ports Latest
p5-Object-Enum - - -

Requires

Name Value
p5-Class-Accessor = 0.51
p5-Class-Data-Inheritable = 0.08_1
p5-Sub-Exporter = 0.987_1
p5-Sub-Install = 0.928_1
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Object-Enum-0.07.3_1.txz
Source Package devel/p5-Object-Enum

Install Howto

Install p5-Object-Enum txz package:

# pkg install p5-Object-Enum

See Also

Package Description
p5-Object-Event-1.220_1.txz Class that provides an event callback interface
p5-Object-Import-1.005.txz Import methods of an object as functions to a package
p5-Object-InsideOut-4.05.txz Comprehensive inside-out object support module
p5-Object-MultiType-0.05_1.txz Perl Objects as Hash, Array, and Scalar at the same time
p5-Object-Pluggable-1.29_1.txz Base class for creating plugin-enabled objects
p5-Object-Realize-Later-0.21.txz Delayed creation of objects
p5-Object-Role-0.001_1.txz Perl base class for non-Moose roles
p5-Object-Signature-1.08.txz Generate cryptographic signatures for objects
p5-Object-Simple-3.1600.txz Simple class builder
p5-Object-Tiny-1.09.txz Class building as simple as it gets
p5-Object-Tiny-Lvalue-1.083.txz Minimal class builder with lvalue accessors
p5-Ogg-Vorbis-Header-0.10.txz Manipulate / fetch info from Ogg-Vorbis audio files
p5-Ogg-Vorbis-Header-PurePerl-1.0_5.txz Manipulate / fetch info from Ogg-Vorbis audio files
p5-Olson-Abbreviations-0.04_2.txz Globally unique timezones abbreviation handling
p5-Opcodes-0.14_1.txz More Opcodes information from opnames.h and opcode.h
Advertisement
Advertisement