in reply to Debug and workaround help
Add \Q...\E in the search pattern. Now you will get the correct output.
$string =~ s/\Q$str2Brepl\E/$strRepl/mi; print "$string";
Prasad
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Debug and workaround help
by Anonymous Monk on Jun 28, 2005 at 06:30 UTC | |
by prasadbabu (Prior) on Jun 28, 2005 at 06:38 UTC |