in reply to How to convert mtime using strftime() in perl
You're calling localtime in scalar context; strftime wants a list. You can just dispose of the $systime variable and say,
I threw in the strftime format string for what you want.$now_string = strftime '%Y%m%d %H%M', localtime $mtime;
After Compline,
Zaxo
|
|---|