grep {REGEXP} uses a code-block which returns a regex which is always true if defined.
grep {/string/} uses a m// (match operation) which defaults to test $_.
Cheers Rolf
In reply to Re: grep {CONSTANT} @list
by LanX
in thread grep {CONSTANT} @list
by creeble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |