- or download this
my $string = 'abc!hu(';
print "\Q$string\E\n"; # prints abc\!hu\(
print quotemeta $string; # prints abc\!hu\(
- or download this
s/\Q$string\E/$replacement/;
...
$qstring = quotemeta $string;
s/$qstring/$replacement/;
- or download this
perldoc perlre
perldoc perlop (the m// part)
- or download this
--
Joost downtime n. The period during which a system
is error-free and immune from user input.