Help for this page

Select Code to Download


  1. or download this
    $exist = -e $blah; # calls stat, returns -e , caches result
    $dir   = -d _;     # takes the last stat (ie $blah) returns -d value
    $file  = -f _;     # etc
    
  2. or download this
    my $fileAge = -M $fileName || die "Can't stat $fileName $!\n"