> 
> gotcha. thanks guys. 
> 
> It would be useful if the docs on
> http://perl.apache.org/embperl/pod/doc/Embperl.-page-5-.htm#sect_20
> 
> mentioned this (i checked for the old documentation, I don't 
> see it there either).
> 

I have added a note to the docs in the CVS version. Will be on the website
soon

Gerald



> db
> 
> On Fri, Mar 11, 2005 at 05:13:11PM -0300, Luiz Fernando B. 
> Ribeiro wrote:
> > On Fri, 11 Mar 2005 08:05:02 -0800, Daniel 
> <[EMAIL PROTECTED]> wrote:
> > 
> > >
> > >Hi all,
> > >
> > >I seem to have some problems when it comes to $escmode, and I'm 
> > >probably not understanding this variable correctly.
> > >
> > >{ local $escmode=0; print OUT "<b>sometext</b>"; }
> > >
> > >I thought the above code would actually print sometext in bold, 
> > >however, no matter the escape mode, I seem to get the tags 
> stripped 
> > >out. How can I preserve the tags? I had it working in one 
> instance, 
> > >but I'm doing something like
> > >
> > >$str = "<"; $str .= "b>"; .. etc for it to work.
> > >
> > >thanks,
> > >
> > >Daniel
> > 
> > Inside [- -] tags you will have to escape \< the openning 
> brackects of 
> > the html tags or set optRawInput as Gerald sugested.
> > 
> > Use $escmode for things like these:
> > [!
> > sub my_select {
> >     return qq|\<select name="test">...\</select>|; } !]
> > 
> > <html>
> > ...
> > <p>Test: [+ local $escmode=0; my_select() +]</p>
> > 
> > 
> > --
> > Luiz Fernando B. Ribeiro
> > Engenho Solu??es para a Internet
> > +55 11 6959-7610
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to