Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Conditional Sorting

by monkfan (Curate)
on May 11, 2007 at 05:06 UTC ( #614814=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @arr = ('foo','bar','qux','foo1','bar1','qux1');
    
    ...
              '1-3' => '0.300'
            };
    
  2. or download this
        'x-y' => 'VALUE'
    
    ...
         '0-3' => '0.300', means that
         'foo' and 'foo1' has value 0.300 OR
         'foo1' and 'foo' has value 0.300
    
  3. or download this
    
    foreach my $z (0 .. ($#arr-1)) {
    ...
    
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2014-10-22 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls