in reply to Re: Compare two arrays
in thread Compare two arrays

if ( @found = grep { $_ eq $element } @array ) { my $found = join ",", @found; print "Element exists\n"; }
This is the code for elements found. But it doesn not work for equating elements "xyz*" with "xyz<1>" , "<xyz<2>" etc

Replies are listed 'Best First'.
Re^3: Compare two arrays
by parv (Parson) on Dec 05, 2014 at 08:11 UTC