Re: Y2k problem in perl 5.004.04-7

2000-01-22 Thread J.H.M. Dassen \(Ray\)
On Sat, Jan 22, 2000 at 14:41:32 +0100, Rodrigo Fernandez-Vizarra Bonet wrote: > $year = (localtime(time())->year); > Actual date 22-0-100 This is not a Y2K problem in perl, but a case of not reading the relevant part of the fine perl manual. Quoting perlfunc(1p) on localtime: :Also, $year is the

Re: Y2k problem in perl 5.004.04-7

2000-01-22 Thread Martin Schulze
Rodrigo Fernandez-Vizarra Bonet wrote: > Hi, > > I'm using Debian 2.1 with perl 5.004.04-7, I'm new to perl so I'm not > sure if I'm doing something wrong (I don't think so). I've written this > little script to get the actual date in the "day - month - year" format, > I'm sure there are others wa