in reply to Last mod not working
$lastMod isn't defined.
if (defined $lastMod) { my ($lastModFormat) = scalar localtime($lastMod); print "$lastModFormat\n"; } else { print "Time not available\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Last mod not working
by Anonymous Monk on Jan 28, 2004 at 18:45 UTC | |
by monktim (Friar) on Jan 28, 2004 at 18:51 UTC |
In Section
Seekers of Perl Wisdom