Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: sorting files

by reasonablekeith (Deacon)
on May 29, 2008 at 14:57 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-09-27 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?