summaryrefslogtreecommitdiffstats
path: root/perl/perl-Test-MockTime/README
diff options
context:
space:
mode:
author Donald Cooley2019-01-03 02:55:16 +0100
committer Willy Sudiarto Raharjo2019-01-05 01:49:19 +0100
commit09c8e06becb229ad77059113bcbaed9b5f6c0181 (patch)
treec12f6d914da7f3ecf44c7b023fa65a9ac0e157af /perl/perl-Test-MockTime/README
parentb3997d3713ccbf39afc13b7ebc067891d5cca215 (diff)
downloadslackbuilds-09c8e06becb229ad77059113bcbaed9b5f6c0181.tar.gz
perl/perl-Test-MockTime: Added (Perl Module).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-MockTime/README')
-rw-r--r--perl/perl-Test-MockTime/README5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl/perl-Test-MockTime/README b/perl/perl-Test-MockTime/README
new file mode 100644
index 0000000000..fc746fc406
--- /dev/null
+++ b/perl/perl-Test-MockTime/README
@@ -0,0 +1,5 @@
+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.