Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Oldest file using -M

by ehdonhon (Curate)
on Apr 27, 2004 at 14:18 UTC ( [id://348495]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $^T = time();
      my $fileage = -M $filename;
    
  2. or download this
      my ($oldest_file) =  sort { -M $b <=> -M $a } @filenames;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-03-19 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found