Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 93267 invoked from network); 7 Jan 2011 20:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2011 20:13:11 -0000 Received: (qmail 93843 invoked by uid 500); 7 Jan 2011 20:13:11 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 93810 invoked by uid 500); 7 Jan 2011 20:13:10 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 93802 invoked by uid 99); 7 Jan 2011 20:13:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 20:13:10 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [69.67.192.11] (HELO sol.tekinteractive.net) (69.67.192.11) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 20:12:59 +0000 Received: from delsol.xymmetrix.net (delsol.tekinteractive.net [69.67.192.7]) by sol.tekinteractive.net (8.13.8/TEK) with ESMTP id p07KCdZQ015508 for ; Fri, 7 Jan 2011 15:12:39 -0500 X-Envelope-From: X-Envelope-To: Received: from talisman.fourddev.com (173-15-22-225-Illinois.hfc.comcastbusiness.net [173.15.22.225]) (authenticated bits=0) by delsol.xymmetrix.net (8.13.8/8.13.8/TEK-1.0-mc) with ESMTP id p07KCXci028322 for ; Fri, 7 Jan 2011 15:12:34 -0500 Received: by talisman.fourddev.com (Postfix, from userid 1000) id DBCB4332245; Fri, 7 Jan 2011 15:12:32 -0500 (EST) Date: Fri, 7 Jan 2011 15:12:32 -0500 From: Matt J Cwanek To: embperl@perl.apache.org Subject: Handler example? Message-ID: <20110107201232.GC8064@fourddev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96.5 at sol X-Virus-Status: Clean X-DCC-sonic.net-Metrics: sol; whitelist X-Virus-Checked: Checked by ClamAV on apache.org 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