in reply to
How to prevent metacharacter interpolation
If you're just looking to search or search/replace a string and you don't need any special regular expression (regex) capabilities, you could use
index
or
index
+
substr
instead of
m//
or
s///
.
Comment on
Re: How to prevent metacharacter interpolation
Select
or
Download
Code
In Section
Seekers of Perl Wisdom