The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pinto::Util - Static utility functions for Pinto

VERSION

version 0.056

DESCRIPTION

This is a private module for internal use only. There is nothing for you to see here (yet).

FUNCTIONS

author_dir( @base, $author )

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.

normalize_property_name( $prop_name )

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/[._:-]/.

normalize_stack_name( $stack_name )

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/[._:-]/.

ls_time_format( $seconds_since_epoch )

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.

AUTHOR

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

COPYRIGHT AND LICENSE

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.