With error checking:
stat( $qfn ) or die( "stat: $!\n" ); my $mtime = ( stat _ )[9];
stat( $qfn ) or die( "stat: $!\n" ); my $mtime = -M _;
defined( -M $qfn ) or die( "stat: $!\n" );
In reply to Re^2: comparing file times [-M Vs. stat()]
by ikegami
in thread comparing file times
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |