Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
On Jun 7, 2007, at 2:47 PM, Ronald J Kimball wrote: CGI's escape/unescape do URI escaping. CGI's escapeHTML and unescapeHTML do HTML escaping. Thanks for the clarification. In my circle of friends/colleagues, we've always referred to URLs as escape/unescape and HTML as encode/unencode

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Ronald J Kimball
On Thu, Jun 07, 2007 at 10:32:54AM -0400, Michael Peters wrote: > Jonathan Vanasco wrote: > > > I use URI::Escape > > > > http://search.cpan.org/~gaas/URI-1.35/URI/Escape.pm > > > > its small, and comes in the std perl distro > > Good for URI escaping, but that's not the same thing as HTML

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
On Jun 7, 2007, at 10:32 AM, Michael Peters wrote: Good for URI escaping, but that's not the same thing as HTML escaping, which is what CGI's escape/unescape do right? oh, my bad. then the module is HTML::Entities // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - -

RE: Replacement for CGI.pm escape and unescape

2007-06-07 Thread cfaust-dougot
That's what I needed!! Thanks Geoff! -Chris From: Geoffrey Young [mailto:[EMAIL PROTECTED] Sent: Thu 6/7/2007 11:40 AM To: cfaust-dougot Cc: Michael Peters; Jonathan Vanasco; modperl@perl.apache.org Subject: Re: Replacement for CGI.pm escape and une

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Geoffrey Young
cfaust-dougot wrote: > Yes, I'm trying to HTML escape/unescape, although looking at URI::Escape it > seems like it might work. I'll have to give it a try. http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__escape_html___ http://search.cpan.org/dist/HTML-Parser/ HTH --Ge

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Andy Armstrong
On 7 Jun 2007, at 16:05, cfaust-dougot wrote: Yes, I'm trying to HTML escape/unescape, although looking at URI::Escape it seems like it might work. I'll have to give it a try. There's a lightweight HTML escaper in HTML::Tiny. No unescaper though. -- Andy Armstrong, hexten.net

RE: Replacement for CGI.pm escape and unescape

2007-06-07 Thread cfaust-dougot
ust-dougot; modperl@perl.apache.org Subject: Re: Replacement for CGI.pm escape and unescape Jonathan Vanasco wrote: > I use URI::Escape > > http://search.cpan.org/~gaas/URI-1.35/URI/Escape.pm > > its small, and comes in the std perl distro Good for URI escaping, but that

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Michael Peters
Jonathan Vanasco wrote: > I use URI::Escape > > http://search.cpan.org/~gaas/URI-1.35/URI/Escape.pm > > its small, and comes in the std perl distro Good for URI escaping, but that's not the same thing as HTML escaping, which is what CGI's escape/unescape do right? -- Michael Peters Devel

Re: Replacement for CGI.pm escape and unescape

2007-06-07 Thread Jonathan Vanasco
On Jun 7, 2007, at 9:57 AM, cfaust-dougot wrote: Hi All, I'm running the latest mp2 with Libapreq. Is there some method to duplicate CGI.pm's escape and unescape methods? I found escape_path, but obviously that isn't the same thing. I'm trying to remove CGI.pm from all my code and these a