Source Package: perl-Test-Time (0.05-bp156.3.1)
Overrides the time() and sleep() core functions for testing
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
Package information
- Homepage
- [http://search.cpan.org/dist/Test-Time/]
- License
- Artistic-1.0 or GPL-1.0+
- Mainteneur du paquet aval
- Inconnu : non déclaré dans la source indexée
The following binary packages are built from this source package:
- perl-Test-Time
Overrides the time() and sleep() core functions for testing
