perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@ecos.de
Subject RE: Handler example?
Date Wed, 12 Jan 2011 04:30:46 GMT
Hi,

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

That should normaly do the trick

Gerald


> -----Original Message-----
> From: Matt J Cwanek [mailto:mcwanek@fourddev.com]
> Sent: Friday, January 07, 2011 9:13 PM
> To: embperl@perl.apache.org
> 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: 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


Mime
View raw message