in reply to Re: Easy one for my fellow Monks
in thread Easy one for my fellow Monks
If you are doing several metachars you can also use \Q to quote your metachars.
or$var =~ s#\Q(#,(#;
/Q will quote all the metachars it sees in a regex until \E.$var =~ s#\Q([]\E#/meta/;
|
---|
In Section
Seekers of Perl Wisdom