On 08 Jul 2004 16:36:59 -0700, Randal L. Schwartz wrote > Maybe you'd be happier with: > > use Time::localtime; > printf "Year is %d\n", localtime->year + 1900;
Nope - I don't feel that year logic should be in every piece of code that needs to know the date (so I would still have to wrap it, which means parsing an extra module, which may have an insignificant effect on performance). Thanks though, -John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>