Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Return newest file

by AcidHawk (Vicar)
on Aug 13, 2003 at 06:25 UTC ( [id://283468]=note: print w/replies, xml ) Need Help??

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";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://283468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found