Name : perl-Test-Time
| |
Version : 0.092
| Vendor : obs://build_opensuse_org/home:smithfarm
|
Release : lp155.10.1
| Date : 2024-09-05 15:43:50
|
Group : Unspecified
| Source RPM : perl-Test-Time-0.092-lp155.10.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
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\', \'localtime\' 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: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/smithfarm/15.5/noarch |