Help for this page

Select Code to Download


  1. or download this
    Returns a 13-element list giving the status info for a file, either th
    +e file opened via FILEHANDLE, or named by EXPR. If EXPR is omitted, i
    +t stats $_. Returns a null list if the stat fails. Typically used as 
    +follows:
    
    ...
     10 ctime    inode change time (NOT creation time!) in seconds since t
    +he epoch
     11 blksize  preferred block size for file system I/O
     12 blocks   actual number of blocks allocated
    
  2. or download this
    #! /usr/bin/perl
    
    ...
    }
    
    print "Newest file is $returnname\n";