The extra quotes around variables like "$ARGV" are mostly meaningless, and can be left out.my ($file) = @ARGV; my $mtime = (stat($file))[9]; # Index 9 according to docs utime($mtime,$mtime,$file); # See @ARGV in docs
In reply to Re: retaining TIMESTAMPS
by tadman
in thread retaining TIMESTAMPS
by xlim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |