Skip Menu |

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

Report information
The Basics
Id: 107098
Status: resolved
Priority: 0/
Queue: Time-Date

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

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



Subject: Don't cache $now outside of natural()
By setting $now only once within the process it means that the natural() return value never changes in long-running processes.
On Tue Sep 15 01:29:29 2015, SREZIC wrote: Show quoted text
> By setting $now only once within the process it means that the > natural() return value never changes in long-running processes.
good point I'll change that in the next revision. I originally thought I might save the time to do a syscall, but that wouldn't work for a long running process.