in reply to s/$foo/$bar/ when $foo has metacharacters in it

In addition: perldoc -q quote and quote.


  • Comment on Re: s/$foo/$bar/ when $foo has metacharacters in it