Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://858235]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-11-22 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (314 votes). Check out past polls.

    Notices?