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

Re: sorting files

by reasonablekeith (Deacon)
on May 29, 2008 at 14:57 UTC ( [id://689032]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub files_sort {
        my $first_number; 
    ...
    
        $first_number <=> $second_number;
    }
    
  2. or download this
    sub my_sort {
        parse_file_name($a) <=> parse_file_name($b);
    ...
            return 0;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found