in reply to Re^2: counting instances of one array in another array
in thread counting instances of one array in another array
my %seen; $seen{$_}++ for @observed; @permCounts = map { $seen{$_} || 0 } @perms;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: counting instances of one array in another array
by JavaFan (Canon) on Feb 23, 2012 at 14:50 UTC |