Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 about the Monastery: (7)
As of 2015-08-30 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (348 votes), past polls