See Escape sequences for details.grep /\Q$var/, @foos;
In reply to Re: matching a variable containing metacharacter treated as character
by choroba
in thread matching a variable containing metacharacter treated as character
by docdurdee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |