LWN.net Logo

Perl is now Y2038 safe (use Perl)

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)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds