Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: compare arrays, and list the difference

by choroba (Canon)
on Oct 03, 2012 at 10:48 UTC ( #997026=note: print w/ replies, xml ) Need Help??


in reply to compare arrays, and list the difference

my %s; undef @s{@source}; my %t; undef @t{@target}; my %tns = %t; delete @tns{@source}; my %snt = %s; delete @snt{@target}; my @tns = keys %tns; my @snt = keys %snt;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: compare arrays, and list the difference
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2015-05-24 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (473 votes), past polls