Name : perl-Test-Time
| |
Version : 0.80.0
| Vendor : Mageia_Org
|
Release : 2.mga8
| Date : 2020-02-15 16:12:04
|
Group : Development/Perl
| Source RPM : perl-Test-Time-0.80.0-2.mga8.src.rpm
|
Size : 0.03 MB
| |
Packager : umeabot < umeabot>
| |
Summary : Overrides the time() and sleep() core functions for testing
|
Description :
Test::Time can be used to test modules that deal with time. Once you \"use\" this module, all references to \"time\" and \"sleep\" will be internalized. You can set custom time by passing time => number after the \"use\" statement:
use Test::Time time => 1;
my $now = time; # $now is equal to 1 sleep 300; # returns immediately, displaying a note my $then = time; # $then equals to 301
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/8/x86_64/media/core/release |