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

NAME

App::Manoc::Utils::Units - routines for managing unit of measure

VERSION

version 2.99.2

FUNCTIONS

parse_storage_size($str, [$unit])

Parse a string made by an integer and a unit of time (e.g. h for hours, M for months) and returns the equivalent number of seconds.

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.