If all you want is the $mtime, you might as well use this:
my $mtime = (stat("/home/user/ptest/$dir"))[9];
...at least it's easier to read ;)
In reply to Re: Reading a directory and getting file dates
by b10m
in thread Reading a directory and getting file dates
by esolm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |