perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Handler example?
Date Wed, 12 Jan 2011 04:30:46 GMT

you should pass your %fdat as hashref to the outermost Execute call with the parameter fdat.

That should normaly do the trick


> -----Original Message-----
> From: Matt J Cwanek []
> Sent: Friday, January 07, 2011 9:13 PM
> To:
> Subject: Handler example?
> Hello:
> Is there an example somewhere of using a custom handler that eventually
> calls Embperl to process the page? I'm working from some old code that used
> HTML::Embperl to do this, and am having trouble getting fdat to work
> properly with my handler under Embperl/MP2.
> The HTML::Embperl handler that I'm working from (and that works fine with
> HTML::Embperl) would take care of creating fdat on it's own using CGI, and
> eventually would call HTML::Embperl::Execute to process the page
> (optDisableFormData was enabled).
> As I try to port this forward to Embperl/MP2, I'm having problems with fdat
> being clobbered later by subsequent nested Embperl::Execute calls, which
> wasn't a problem with HTML::Embperl/MP1. It's almost like a scope problem,
> but it only seems to shows up if I have nested Execute calls.
> Thanks for any help.
> Matt
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message