Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: compare arrays, and list the difference

by choroba (Abbot)
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 romping around the Monastery: (7)
As of 2014-07-12 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls