Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Comparing strings

by gasho (Beadle)
on Jul 24, 2006 at 15:06 UTC ( [id://563289]=note: print w/replies, xml ) Need Help??


in reply to Comparing strings

Try this
use List::Compare; @a = qw/AA12 BB13 CC14 DD15/; @b = qw/AA1 AA2 AA12 BB13/; $element = List::Compare->new(\@a, \@b); #@UF = $element->get_unique; @CB = $element->get_intersection; print join "\n", @CB;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-16 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found