See perlre. Also, you likely want to use real regular expressions in your match syntax and not strings:
my @bintext2 = grep { $_ =~ /$input/i } @bintext; # or even shorter my @bintext2 = grep { /$input/i } @bintext;
In reply to Re: GREP case insensitivity
by Corion
in thread GREP case insensitivity
by italiansauce88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |