- - Code, Content, and Presentation
- -- Perl Server Side CGI Scripting
- ---- Question - haven't done this in a while
janharders - 7:04 pm on Feb 8, 2010 (gmt 0)
well, you'd need to escape the content of $r ... otherwise, the ? will get you in trouble in s/// ...
$r = quotemeta("$&");
should work fine ...
Thread source: http://www.webmasterworld.com/perl/4075677.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com