develooper Front page | perl.perl6.language | Postings from August 2005

Re: Time::Local

Thread Previous | Thread Next
From:
Braňo Tichý
Date:
August 18, 2005 00:30
Subject:
Re: Time::Local
Message ID:
003301c5a3c6$a985af90$4f4d1cc3@MATRIX
> Well, right now one of the great things about looking at the wall to
> read the clock and see the time, is that you know that based on the time
> of day and the time of year, and where you are, roughly how far through
> the actual solar day it is.  It's crude, but useful.  Just ask a Dairy
> Farmer.
>

Does the Dairy Farmer need time with seconds precision?
Would he know his longitude and how to make correction to the time?
(If he is a person, wouldn't it be easier for him just to buy GPS?)

> Of course feel free to consider this all worthless heckling, given the
> lack of time I've been putting towards an implementation of all this ;).
>
> Sam.
>

Same here.

Maybe this lengthy discussion isn't really that useful. I think it's about 
defaults, but Perl6 will have packages -- so everyone not content with the 
default handling of time will be able to override it. Or maybe there could 
be a pragma (`no leapseconds`?). Or maybe there could be a package on CP6AN 
named Time::Leapseconds::Data.

Related question: is it possible to specify validity of a package? Something 
along the lines "this package starts to be deprecated/imprecise/outdated 
after 2007".

braòo tichý


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About