Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 wandering the Monastery: (17)
As of 2014-10-20 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (88 votes), past polls