This is the code for elements found. But it doesn not work for equating elements "xyz*" with "xyz<1>" , "<xyz<2>" etcif ( @found = grep { $_ eq $element } @array ) { my $found = join ",", @found; print "Element exists\n"; }
In reply to Re^2: Compare two arrays
by kaushik9918
in thread Compare two arrays
by kaushik9918
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |