Skip Menu |

This queue is for tickets about the Time-Fake CPAN distribution.

Report information
The Basics
Id: 33173
Status: new
Priority: 0/
Queue: Time-Fake

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11
Fixed in: (no value)



Subject: Time::Fake and Time::HiRes
The Time::Fake documentation tells that the module is not tested with Time::HiRes. I did it, and it does not work as expected. The script #!perl use Time::HiRes qw(time); use Time::Fake; warn time; Time::Fake->offset("+1y"); warn time; __END__ would not warp the time forward. It seems to me that supporting Time::HiRes shouldn't be too hard, but probably the user needs first to "use" Time::HiRes before Time::Fake, so Time::Fake has a change to override Time::HiRes::time. Regards, Slaven