Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: how to refer the index of an array to another array of the same length

by CountZero (Bishop)
on Aug 03, 2013 at 09:55 UTC ( #1047684=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Regexp::Assemble;
    
    ...
    for my $idx ( keys @gl ) {
        say "$idx: $gl[$idx] : $csta[$idx]" if ( $gl[$idx] =~ m/$ra/ );
    }
    
  2. or download this
    3: 5 : E
    13: 1 : A
    15: 3 : C
    ...
    75: 1 : A
    81: 12 : L
    83: 5 : E
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (16)
As of 2014-12-18 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (57 votes), past polls