You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Daniel <em...@7thfire.com> on 2006/04/23 04:37:33 UTC

escmode question

I'm running very basic embperl through my httpd using embpexec.pl to
parse any .epl scripts.

I tried using embpexec.pl -o 16 also, but that failed to work as well.

My testfile looks like this:

[-
$escmode=0;
print OUT "<h1>blah</h1>"
-]


However, <h1> is tripped in the output. How can I get this to work?


using Embperl 1.3.6 since I can't get 2.2.0 to compile atm.

NOTE: I'm not using apache nor mod_perl.


-- 
"One certain effect of war is to diminish freedom of expression. Patriotism
becomes the order of the day and those who question the war are seen as
traitors, to be silenced and imprisoned." - Howard Zinn

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


Re: escmode question

Posted by Daniel <em...@7thfire.com>.
On Sat, Apr 22, 2006 at 07:37:33PM -0700, Daniel wrote:
> I'm running very basic embperl through my httpd using embpexec.pl to
> parse any .epl scripts.
> 
> I tried using embpexec.pl -o 16 also, but that failed to work as well.
> 
> My testfile looks like this:
> 
> [-
> $escmode=0;
> print OUT "<h1>blah</h1>"
> -]
> 
> 
> However, <h1> is tripped in the output. How can I get this to work?


Seems I solved it by doing:
print OUT "\<h1>blah\</h1>"

as I remembered someone here had mentioned it. I would be grateful for a
solution which didn't involve escaping the <>'s since most of my code
isn't because it wasn't required through apache, and I'll be gravitating
towards lighttpd/fcgi instead of apache/mod_perl.

-d


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


RE: RE: escmode question

Posted by Gerald Richter <ri...@ecos.de>.
> > 
> > Needs to be
> > 
> > embpexec.pl -t 16
> > 
> > There is an error in the docs. The -o options is given twice...
> 
> nice! thanks. update docs? :)
> 

Already online, see
http://perl.apache.org/embperl/pod/doc/Config.-page-1-.htm#sect_3

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


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


Re: RE: escmode question

Posted by Daniel <em...@7thfire.com>.
On Mon, Apr 24, 2006 at 05:29:14AM +0200, Gerald Richter wrote:
> > 
> > I'm running very basic embperl through my httpd using 
> > embpexec.pl to parse any .epl scripts.
> > 
> > I tried using embpexec.pl -o 16 also, but that failed to work as well.
> > 
> 
> Needs to be
> 
> embpexec.pl -t 16
> 
> There is an error in the docs. The -o options is given twice...

nice! thanks. update docs? :)

-d


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


RE: escmode question

Posted by Gerald Richter <ri...@ecos.de>.
> 
> I'm running very basic embperl through my httpd using 
> embpexec.pl to parse any .epl scripts.
> 
> I tried using embpexec.pl -o 16 also, but that failed to work as well.
> 

Needs to be

embpexec.pl -t 16

There is an error in the docs. The -o options is given twice...

Gerald



 
** Virus checked by BB-5000 Mailfilter ** 


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