|$year = $year % 100; # get the real "years since last beginning of
| # the century"
I would use: $year = sprintf("%02d", $year % 100); Other wise you will get
dates like this 21/11/0, unless ofcourse you use printf later.
Leonid Igolnik aka LiM
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
- Y2K perl snag! Ira Abramov
- Re: Y2K perl snag! Oleg Goldshmidt
- Re: Y2K perl snag! Oleg Goldshmidt
- Re: Y2K perl snag! Geoffrey S. Mendelson
- linux.org.il webmaster ? Uri Bruck
- Re: Y2K perl snag! Leonid Igolnik - LiM
- Re: Y2K perl snag! guy keren
