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 ;)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Reading a directory and getting file dates
by cool_jr256 (Acolyte) on Jun 01, 2005 at 20:59 UTC | |
by b10m (Vicar) on Jun 02, 2005 at 10:32 UTC |
In Section
Seekers of Perl Wisdom