Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

At the risk of there being 1,000 replies by the time I finish mine:

by gryng (Hermit)
on Aug 03, 2000 at 02:28 UTC ( #25867=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @sorted = sort {
    
    ...
        pack('C4' => $b =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/)
    
    } @unsorted;
    
  2. or download this
    my @sorted = sort {
    
    ...
        $a[3] <=> $b[3]
    
    } @unsorted;
    
  3. or download this
    my @sorted = sort {
    
    ...
        pack('C4' => $b =~ /(\d+)\.(\d+)\.(\d+)\.(\d+)/)
    
    } @unsorted;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2014-08-27 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (252 votes), past polls