in reply to •Re: stripping an array
in thread stripping an array
my %arr1_as_hash; @arr1_as_hash{@arr1} = (); my @arr3 = map { $_->[1] } grep { exists $arr1_as_hash{$_->[0]} } map { [ split /,/ ] } @arr2;
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|