Time::Duration::Abbreviated - Describe time duration in abbreviated English
use Time::Duration::Abbreviated; duration(12345, 2); # => "3 hrs 26 min" earlier(12345, 2); # => "3 hrs 26 min ago" later(12345, 2); # => "3 hrs 26 min later" duration_exact(12345); # => "3 hrs 25 min 45 sec" earlier_exact(12345); # => "3 hrs 25 min 45 sec ago" later_exact(12345); # => "3 hrs 25 min 45 sec later"
Time::Duration::Abbreviated is a abbreviated version of Time::Duration.
Time::Duration
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
moznion <moznion@gmail.com>
To install Time::Duration::Abbreviated, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Time::Duration::Abbreviated
CPAN shell
perl -MCPAN -e shell install Time::Duration::Abbreviated
For more information on module installation, please visit the detailed CPAN module installation guide.