SUBTYPES

Dir

Dir is a subtype of MooseX::Types::Path::Class::Dir. Objects with overloaded stringification are coerced as strings if coercion is enabled.

AbsDir

AbsDir is a subtype of Dir (above). Objects are also coerced to an absolute path.

File

File is a subtype of MooseX::Types::Path::Class::File. Objects with overloaded stringification are coerced as strings if coercion is enabled.

AbsFile

AbsFile is a subtype of File (above). Objects are also coerced to an absolute path.

CAVEATS

Usage with File::Temp

Because an argument is stringified and then coerced into a Path::Class object, no reference to the original File::Temp argument is held. Be sure to hold an external reference to it to avoid immediate cleanup of the object at the end of the enclosing scope.