slackbuilds/perl/perl-Test-MockTime
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README perl/perl-Test-MockTime: Added (Perl Module). 2019-01-05 07:49:19 +07:00
perl-Test-MockTime.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
perl-Test-MockTime.info perl/perl-Test-MockTime: Added (Perl Module). 2019-01-05 07:49:19 +07:00
slack-desc perl/perl-Test-MockTime: Added (Perl Module). 2019-01-05 07:49:19 +07:00

README

perl-Test-MockTime module was created to enable test suites to test code
at specific points in time. Specifically it overrides localtime, gmtime,
and time at compile time. It then relies on the user supplying a mock
time via set relative_time, set absolute_time, or set_fixed_time to
alter future calls to gmtime, time, or localtime.