devel/p5-MooseX-Types-Path-Class 0.09 DragonFly
Path::Class type library for Moose
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 8.3 KiB, 14.0 KiB installed
Description
This is a utility that creates common Moose subtypes, coercions and option specifications useful for dealing with Path::Class objects as Moose attributes.
This module constructs coercions (see Moose::Util::TypeConstraints) from both 'Str' and 'ArrayRef' to both Path::Class::Dir and Path::Class::File objects. It also adds the Getopt option type ("=s") for both Path::Class::Dir and Path::Class::File (see MooseX::Getopt).
This is just meant to be a central place for these constructs, so you don't have to worry about whether they've been created or not, and you're not tempted to copy them into yet another class (like I was).
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-MooseX-Types-Path-Class | 0.09 |
| FreeBSD | devel/p5-MooseX-Types-Path-Class | 0.09 |
| OpenBSD | devel/p5-MooseX-Types-Path-Class | 0.09p0 |
| NetBSD | devel/p5-MooseX-Types-Path-Class | 0.09nb10 |
| MidnightBSD | devel/p5-MooseX-Types-Path-Class | 0.09 |
| HardenedBSD | devel/p5-MooseX-Types-Path-Class | 0.09 |
| GhostBSD | devel/p5-MooseX-Types-Path-Class | 0.09 |
Install
Binary package:
pkg install p5-MooseX-Types-Path-Class
From DPorts:
cd /usr/dports/devel/p5-MooseX-Types-Path-Class && make install clean