Hi!, I know that this is a no brainer, but I cannot not get it! I want to compare two arrays and delete the same values in one array.
foreach $j ( @a1 ) { foreach $p ( @a2 ) { $a2[ $p ] = undef if $a1[ $j ] == $a2 $p ]; } } What is wrong and is there a better, PERL way to do this? Thanks, Jerry