File test operator in Perl. Returns age of following file (or $_) since last access. Note that this usually is a fractional value.

&action if int(-a $file) == 5; # Run subroutine action if file $file was accessed 5 days ago

A list of Perl commands can be found at Perl.

Log in or register to write something here or to contact authors.