Boon Chong Ang wrote:
Hi, I have two array, @test1, @test2. Just say, I want compare @test2 with @test1 in such manner. @test2 could contains more, less or equal elements compare to @test1 which I don't know. I want to write a perl script to compare @test2 to @test1 and list out those element within @test2 that is not represent within @ test1 and those elements within @test1 that has not found the match from the @test2
How do I accomplish such task efficiently?
This is a faq perldoc -q intersection
Thank you & best regards, ABC
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]