in reply to Simple search question ...

As swampyankee points out two solutions are to use \Q or quotemeta. If you want to quote only a subset of metacharacters then the fact that most metacharacters loss their status inside classes can help:
$ perl -wde 0 main::(-e:1): 0 DB<1> $_ = 'a+b*^c$]d' DB<2> s/([+*^\$\]])/\\$1/g DB<3> p $_ a\+b\*\^c\$\]d

Replies are listed 'Best First'.
Re^2: Simple search question ...
by mwhiting (Beadle) on Jun 14, 2008 at 17:23 UTC

    Thanks to all of you. The $1 was really what I was looking for. The /q is helpful too, I'll use that. Thanks muchly!