Try not importing stuff from the module, i.e.
use Time::localtime (); # note the parentheses
and then call the function fully qualified
$dateModified = Time::localtime::ctime($attrs->mtime);
(Or import only ctime, which should not clash.)
In reply to Re^3: getting system time
by Eliya
in thread getting system time
by akrrs7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |