In a similar vein, you can use File::stat's by-name interface to the built-in stat...
use File::stat; my $prettyFileTime = localtime stat("$dir/$file")->mtime;
--k.
Update: D'oh...beaten to the punch...
In reply to Re: Re: Clarifying code
by Kanji
in thread Clarifying code
by peschkaj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |