Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Something like File::Find with sorting

by Kenosis (Priest)
on Feb 16, 2013 at 21:43 UTC ( #1019077=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my @files = File::Find::Rule->file()->in($dir);
    
    print "$_\n" for sort { lc $a cmp lc $b } @files;
    
  2. or download this
    .project
    10B.xml
    ...
    atom.pdb
    Bio_SeqIO.pl
    ...
    
  3. or download this
    use strict;
    use warnings;
    ...
    my @files = File::Find::Rule->file()->in( $dir );
    
    print "$_\n" for nsort @files;
    
  4. or download this
    5a.xml
    6adh.pdb
    ...
    atom.pdb
    Bio_SeqIO.pl
    Book1.xls
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-12-28 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls