May 26, 2018

Path::Class type library for Moose

This is a utility that creates common Moose subtypes, coercions and option specifications useful for dealing with PathClass objects as Moose attributes.

This module constructs coercions see MooseUtilTypeConstraints from both ‘Str’ and ‘ArrayRef’ to both PathClassDir and PathClassFile objects. It also adds the Getopt option type “=s” for both PathClassDir and PathClassFile see MooseXGetopt.

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.

WWW http//