This would be faster and would not be vulnerable to metacharacter interpolation.if ( grep $_ eq $x, @b ) { ... }
In reply to Re: Grep expansion problem
by Codon
in thread Grep expansion problem
by Lyndley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |