Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Something like File::Find with sorting

by Kenosis (Priest)
on Feb 16, 2013 at 21:43 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1019077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found