aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-MockTime/README
diff options
context:
space:
mode:
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 000000000000..fc746fc406bc
--- /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.