XP is just a number | |
PerlMonks |
Re: TIME::LOCAL from within KSHby AltBlue (Chaplain) |
on May 19, 2007 at 03:02 UTC ( [id://616296]=note: print w/replies, xml ) | Need Help?? |
An error message would have been useful here, but for starters let's guess you meant Time::Local (case sensitive) and -M (importing timelocal).
e.g.: perl -MTime::Local -le 'print timelocal(...)' Better yet, rather than calling perl for such tiny operations maybe you should read date(1) man page (pay attention to -d parameter). --
In Section
Seekers of Perl Wisdom
|
|