and you'll go back to scalar context. Using the parentheses forced the matches into array context.my $ok = grep {/Some String/} @anArray;
In reply to Re: Puzzled over 'my'
by shenme
in thread Puzzled over 'my'
by myomancer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |