Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Finding oldest file in directory

by ikegami (Pope)
on Oct 18, 2004 at 21:08 UTC ( #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
Node Status?
node history
Node Type: note [id://400321]
help
Chatterbox?
[Tanktalus]: And now that I've been using regexes in C++, I'm thinking that might apply :)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-12-18 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (501 votes). Check out past polls.

    Notices?