App::JobLog::Time - consolidates basic time functions into one location
version 1.042
App::JobLog::Time puts the cachable time functions into a common module to improve efficiency and facilitate testing.
App::JobLog::Time
The present moment with the time zone set to $App::JobLog::Time::tz. This may be overridden with $App::JobLog::Time::now.
$App::JobLog::Time::tz
$App::JobLog::Time::now
Unless $App::JobLog::Time::today has been set, whatever is given by now truncated to the day.
$App::JobLog::Time::today
now
Returns time zone, which will be the local time zone unless $App::JobLog::Time::tz has been set.
David F. Houghton <dfhoughton@gmail.com>
This software is copyright (c) 2011 by David F. Houghton.
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 App::JobLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::JobLog
CPAN shell
perl -MCPAN -e shell install App::JobLog
For more information on module installation, please visit the detailed CPAN module installation guide.