[ep2] using options like optDisableHtmlScan with Embper::Execute

2004-12-01 Thread Gary Shea
I'm using embperl as a template engine in a non-mod_perl context. I have embperl1 code like: $HTML::Embperl::dbgShowCleanup = 1; HTML::Embperl::Execute ({ 'debug' => 1, 'escmode' => 0, 'inputfile' => $ref->{'tpl_path'},

RE: href=[+ scalar { %fdat, id => 1 } +] broken?

2004-12-01 Thread Gerald Richter
> > Embperl 1 used to expand hash/array in URL into query > string like in href=[+ scalar { %fdat, id => 1 } +] but this > doesn't seem to work in Embperl 2. Is this a known bug? > This still works. You might need to write href="[+ scalar { %fdat, id => 1 } +]" So Embperl is aware that the

RE: Stupid Execute problem

2004-12-01 Thread Gerald Richter
> > > >>> I'm trying simple > >>> [- Execute('_ref.eo') -] > >> > >> > >> > >> In Embperl 2 you have to add a ';' in every statement in a > [--] block > >> and you have to omit it it [++] blocks. > > Normaly [- -] should also work without ; ([* *] blocks requires the ;). > > And just for the

RE: No quoting of " (") ?

2004-12-01 Thread Gerald Richter
> > [- $fdat{'foo'} = '"> href="http://www.slashdot.org";>slashdot'; -] type="text" name="foo"> > > This results in an empty text field followed by the given > link to slashdot. I just tested it and it works for me. What you your setting of $escmode? > > I *guess* that regular expressions

RE: [ep2] using options like optDisableHtmlScan with Embper::Execute

2004-12-01 Thread Gerald Richter
> > I'm using embperl as a template engine in a non-mod_perl > context. I have embperl1 code like: > >$HTML::Embperl::dbgShowCleanup = 1; > HTML::Embperl::Execute ({ > 'debug' => 1, > 'escmode' => 0, > 'inputfile' => $ref->