Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: using File::Find for reading files in order

by grinder (Bishop)
on Feb 04, 2009 at 07:27 UTC ( #741200=note: print w/ replies, xml ) Need Help??


in reply to Re: using File::Find for reading files in order
in thread using File::Find for reading files in order

Either that, or if there are many files that will be skipped by the regexp, sort the results just before returning them.

return sort {$a <=> $b} @messages;

• another intruder with the mooring in the heart of the Perl


Comment on Re^2: using File::Find for reading files in order
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2014-07-11 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (223 votes), past polls