Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Beginners guide to File::Find

by mrdvt92 (Acolyte)
on Aug 31, 2010 at 21:26 UTC ( #858235=note: print w/ replies, xml ) Need Help??


in reply to Re: Beginners guide to File::Find
in thread Beginners guide to File::Find

I just need sorting...

find({ preprocess => sub { return sort @_ }, wanted => \&callback, }, @path);
It took a bit of googling to find this thread but this adaptation works great. I cannot believe this is not in the pod for File::Find.


Comment on Re^2: Beginners guide to File::Find
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2015-07-07 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls