Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-10-21 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (98 votes), past polls