Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 imbibing at the Monastery: (6)
As of 2014-07-12 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls