in reply to preserving html in patterns

Perhaps you should look at the escapeHTML function from CGI.pm.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re: preserving html in patterns
by hacker (Priest) on Dec 21, 2001 at 15:52 UTC
    I'm almost tempted to point him to URI::Escape or CGI.pm's facilities, but there's also String::Escape. I've used all three, with varying results, depending on what exactly he's trying to escape, strings, form elements, or URI structures.