Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Something like File::Find with sorting

by RichardK (Parson)
on Feb 16, 2013 at 17:46 UTC ( #1019052=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use File::Find;
    ...
    for (sort { your sort criteria here} @files) {
       say $_;
    }
    
  2. or download this
    my @files = File::Find::Rule->files()->in($dir);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019052]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2018-06-25 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?