Perl is now Y2038 safe (use Perl)
[Posted February 12, 2008 by cook]
use Perl
reports
on the effort to fix the Y2038 time problem in Perl:
"
They said it couldn't be done. They said it SHOULDN'T be done! But I have here a working 64 bit localtime_r() on a machine with just 32 bits of time_t. Time zones, daylight savings time... it all works.
$ ./miniperl -wle 'print scalar localtime(2**35)'
Mon Oct 25 20:46:08 3058
Perl will be Y2038 safe. And yes, I'm going to get it backported to 5.10."
(
Log in to post comments)