Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: compare arrays, and list the difference

by choroba (Chancellor)
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 scrutinizing the Monastery: (4)
As of 2016-05-27 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?