Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Comparing Arrays -> storing results in a third Array

by vek (Prior)
on Aug 15, 2002 at 18:32 UTC ( [id://190483]=note: print w/replies, xml ) Need Help??


in reply to Comparing Arrays -> storing results in a third Array

You might also want to try davorg's Array::Compare.
my $comp = Array::Compare->new(DefFull => 1); $comp->compare(\@arr1, \@arr2);
Returns a list of elements which are different. Returns an empty list if the array's are the same.

HTH

-- vek --

Log In?
Username:
Password:

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

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

    No recent polls found