That expansive map statement is rather extravagant, given ...
my $count = scalar map { /AA/g } @dipept;
... would produce the same result. Am I missing something?
In reply to Re^2: Using grep in a scalar context
by Anonymous Monk
in thread Using grep in a scalar context
by newbie1991
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |