BSD Ports

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

SystemPortVersion
DragonFlydevel/p5-MooseX-Types-Path-Class0.09
FreeBSDdevel/p5-MooseX-Types-Path-Class0.09
OpenBSDdevel/p5-MooseX-Types-Path-Class0.09p0
NetBSDdevel/p5-MooseX-Types-Path-Class0.09nb10
MidnightBSDdevel/p5-MooseX-Types-Path-Class0.09
HardenedBSDdevel/p5-MooseX-Types-Path-Class0.09
GhostBSDdevel/p5-MooseX-Types-Path-Class0.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

Dependencies

Run dependencies 5