in reply to Backslash Interpolation

would not the following work:
#$cgi is cgi object my $string = $cgi->param('string'); print quotemeta $string;
UPDATE Ah! - That of course wouldn't work because it would also show slashes
before every space. Must Engage brain before typing.....