perl-Test-Time

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', '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

Es ist kein offizielles Paket für openSUSE Leap 15.5 verfügbar

Distributionen

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

SUSE SLE-15-SP1

Nicht unterstützte Distributionen

Die folgenden Distributionen werden offiziell nicht unterstützt. Benutzen Sie diese Pakete auf eigene Gefahr.