Tnx a lot for u tips!! I just used all (or almost all) u suggestion, but what i really need is some help in the "logic" of the script. I mean at the moment I have this 3 arrays:
@G1 = (["alfa" , "10"], ["beta" , "11"]); @L1 = (["alfa" , "10"], ["gamma" , "12"]); @G2 =('gamma'); I need to found only the unique couple of results: ["beta" , "11"] , couse [gamma 12] and [gamma] have to be excluded. What i obtain at the moment is instead: Overlap: $VAR1 = [ 'alfa', '10' ]; ### Correct!! ######### Unique: $VAR1 = [ 'gamma' #### Not correct ######## ]; $VAR2 = [ 'gamma', #### Not correct ######## '12' ]; $VAR3 = [ 'beta',### Correct!! ######### '11' ]; Any hints? Vito