Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 examining the Monastery: (4)
As of 2014-12-22 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (111 votes), past polls