Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Comparing Two Arrays

by kutsu (Priest)
on Feb 23, 2005 at 22:52 UTC ( [id://433888]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Comparing Two Arrays
in thread Comparing Two Arrays

It answer the question "how to get a unique set of the values of two arrays". I did not realize he wanted the symmetric difference between two sets (and didn't know what symmetric difference was until I looked it up) and forgot that the heading has changed to How can I remove duplicate elements from a list or array, in 5.8.* at least. I esp. thought point E would be helpful and should point out that perldoc -q 'symmetric difference' will give an example of that too, though I prefer the module now that I see this. I'll leave it there though as it many answer later questions.

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-25 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found