Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: comparing lists and getting an exemtion reportby eyepopslikeamosquito (Archbishop) |
on Apr 21, 2012 at 00:37 UTC ( [id://966289]=note: print w/replies, xml ) | Need Help?? |
Essentially the same question was asked today in removing a sublist. You might like to check the answers given there and perlfaq4 (arrays section) and Perl Cookbook, recipe 4.8 "Finding elements in one array but not another". Re performance, the way to find out is to use the Benchmark module to compare the running times of various solutions.
In Section
Seekers of Perl Wisdom
|
|