Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Finding oldest file in directory

by ikegami (Patriarch)
on Oct 18, 2004 at 21:08 UTC ( [id://400321]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub get_oldest {
       my ($dir) = @_;
    ...
       }
       return $oldest;
    }
    
  2. or download this
    use DirHandle  ();
    use File::Spec ();
    ...
       }
       return $oldest;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found