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). 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 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 "sometext"; } > > > >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|\|; > } > !] > > > ... >

Test: [+ local $escmode=0; my_select() +]

> > > -- > Luiz Fernando B. Ribeiro > Engenho Solu??es para a Internet > +55 11 6959-7610 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org