Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Compare and merge array elements help!

by rir (Vicar)
on May 08, 2009 at 13:30 UTC ( #762829=note: print w/ replies, xml ) Need Help??


in reply to Compare and merge array elements help!

my %users = map { $_->[0], $_->[1,-1] } @$ar_ref_2; my @answer = map { [@$_, $users{$$_[1]} ] } @$ar_ref_1;

Be well,
rir


Comment on Re: Compare and merge array elements help!
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://762829]
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: (7)
As of 2014-09-30 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (385 votes), past polls