stat does not return an object, but a list.I guess the OP posted only part of his program, and s/he left out use File::stat;, which would cause stat to return an object. Otherwise s/he would have gotten an error message about that.
In reply to Re^2: compare file modification time and current time
by rovf
in thread compare file modification time and current time
by rajeshatbuzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |