Help for this page

Select Code to Download


  1. or download this
        my($accessed, $modified) = (stat "/foo/bar")[8, 9];
    
  2. or download this
        use File::stat;
        my $s = stat "/foo/bar";
        print scalar localtime $s->atime;