On Mon, 7 Aug 2000, Philip Newton wrote:

> On Mon, 7 Aug 2000, Tim Jenness wrote:
> 
> > Is localtime() used often enough to justify being part of
> > the language?
> 
> You're kidding, right?

No, not at all.
 
> We wouldn't have had all those script kiddies complaining about year 19100
> bugs and month-being-off-by-one errors if localtime() wasn't being used
> all of the time, whether in CGI code or not.

Yes, obviously it has been used by many.  That means that the equivalent
functionality needs to be provided somehow in the complete standard perl6
distribution.  It doesn't mean localtime() has to be a keyword with its
very own opcode that is part of the core language.  It could be part of a
module.  In fact it already is in perl5:  POSIX::localtime.

POSIX::localtime() (or some descendent of it) will almost surely continue
to be available.  It's quite possible that other date/time functions may
be part of the standard library too.

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042



Reply via email to