devel/p5-Object-Enum 0.07.3_1 DragonFly
Replacement for if ($foo eq 'bar')
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 8.6 KiB, 15.5 KiB installed
Description
use Object::Enum qw(Enum);
my $color = Enum([ qw(red yellow green) ]); # ... later if ($color->is_red) { # it can't be yellow or green
In the other systems
The newest version among them is 0.075, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Object-Enum | 0.07.3_1 | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Object-Enum | 0.075 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Object-Enum | 0.075 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Object-Enum | 0.075 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Object-Enum
From DPorts:
cd /usr/dports/devel/p5-Object-Enum && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 5
No port depends on this one.