On 2009-Feb-20, at 11:17 am, Larry Wall wrote:
Certainly, we'll be depending on the type system to keep these things
straight.  I'm not suggesting the user use bare Nums as anything other
than naive durations for APIs such as sleep().

If we have some units to make suitable objects, we can say sleep(5`min), etc. That would mean we can always take time-types, and avoid the "$t*1000*60*60*24" idiom to boot.

[...]I suppose Temporal is as good a module name as any, though Temporal::Instant
does seem a bit redundant...

Well, it distinguishes it from Coffee::Instant...


Reply via email to