Пакет perl-Test-Time: Информация
Исходный пакет: perl-Test-Time
Версия: 0.092-alt1
Собран: 10 июня 2022 г. 15:15
Категория: Разработка/Perl
Сообщить об ошибке в пакетеДомашняя страница: http://search.cpan.org/dist/Test-Time/
Лицензия: perl
О пакете: 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
Сопровождающий: Igor Vlasenko
Последнее изменение
10 июня 2022 г. Igor Vlasenko 0.092-alt1
- automated CPAN update
12 мая 2019 г. Igor Vlasenko 0.08-alt1
- automated CPAN update
8 октября 2018 г. Igor Vlasenko 0.07-alt1
- automated CPAN update