in reply to Re: Reading a directory and getting file dates
in thread Reading a directory and getting file dates
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 Section
Seekers of Perl Wisdom