or$var =~ s#\Q(#,(#;
/Q will quote all the metachars it sees in a regex until \E.$var =~ s#\Q([]\E#/meta/;
In reply to Re: Re: Easy one for my fellow Monks
by grep
in thread Easy one for my fellow Monks
by ddrumguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |