perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter <rich...@ecos.de>
Subject Re: Strange problem with Embperl 2.0b9 + httpd 2.0.40
Date Sun, 10 Aug 2003 18:25:00 GMT
Am Montag, 4. August 2003 13:10 schrieb Torsten Luettgert:
> On Son, 2003-08-03 at 20:06, Gerald Richter via COM.BOX TEMA wrote:
> > > For your escaping use the $req->Escape from Embperl (I don't know if it
> > > is available in Embperl2 - Gerald?).
> >
> > Yes, it's available in Embperl 2, but you don't need this escaping at
> > all, unless you turned it off, Embperl will escape any output from [+ +]
> > or print OUT anyway.
>
> I did turn it off, since I need to write out tags from perl code
> (without, using embperl would be kind of pointless for me).
>
> Never mind anyway, I had a look at CGI.pm's escapeHTML routine and
> took out the interesting parts in a small sub.
>

As Luiz wrote in his mail (07/21/03) the Escape method of the Embperl request 
object is able to do html and url escaping without the need of an extra 
module for you

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message