stat is a built-in-function ... you don't need to use File::stat.
Even "worse": if you look at the docu for File::stat, you'll see
This module's default exports override the core stat() and lstat() functionsso the built-in function won't work any longer. Simply remove your "use"-line from your script to solve your issue. HTH, Rata
In reply to Re: not able to get last modified time of a file
by Ratazong
in thread not able to get last modified time of a file
by srinikar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |