[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Y2K complience



At 13.37 6/18/97, David T. McWherter wrote:
>Hope that helped...And to confuse the issue even more, I believe
>that times are all handled in 64-bit quantities now by the MacOS,
>but I'm not 100% sure on that...

#!perl
$\=$/;
sub doTime {print scalar localtime(shift)}
doTime((2**32) - 10);
doTime(2**32);
doTime(2**64);
__END__
Mon Feb  6 06:28:06 2040
Mon Feb  6 06:28:15 2040
Mon Feb  6 06:28:15 2040


--
Chris Nandor                 pudge@pobox.com                 http://pudge.net/
%PGPKey=('B76E72AD',[1024,'08 24 09 0B CE 73 CA 10  1F F7 7F 13 81 80 B6 B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch