Pinto::Util - Static utility functions for Pinto
version 0.056
This is a private module for internal use only. There is nothing for you to see here (yet).
Given the name of an $author, returns the directory where the distributions for that author belong (as a Path::Class::Dir). The optional @base can be a series of Path::Class:Dir or path parts (as strings). If @base is given, it will be prepended to the directory that is returned.
$author
@base
Normalizes the property name and returns it. Throws an exception if the property name is invalid. Currently, property names must be alphanumeric plus any of m/[._:-]/.
m/[._:-]/
Normalizes the stack name and returns it. Throws an exception if the stack name is invalid. Currently, stack names must be alphanumeric plus any of m/[._:-]/.
Formats a time value into a string that is similar to what you see in the output from the ls -l command. If the given time is less than 1 year ago from now, you'll see the month, day, and time. If the time is more than 1 year ago, you'll see the month, day, and year.
ls -l
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
This software is copyright (c) 2011 by Imaginative Software Systems.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pinto, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pinto
CPAN shell
perl -MCPAN -e shell install Pinto
For more information on module installation, please visit the detailed CPAN module installation guide.