in reply to Perl Stat Issue
File::stat is not returning what you think (check the documentatioon). If you want to use this syntax:
my $mod = (stat($file))[9];you should probably use the core stat functionnality, rather than the module.
In Section
Seekers of Perl Wisdom