Try adding 256 to your EMBPERL_OPTIONS:
optDisableFormData = 256
This option disables the setup of %fdat and @ffld. Embperl
will not do anything with the posted form data. Set this
when using Execute from your perl script and you have
already read the Form Data (via eg. CGI.pm).
Cheers,
Gavin
On Tue, Sep 03, 2002 at 12:18:47PM -0700, Mark Dedlow wrote:
> I'm want to drop some existing code that uses CGI.pm into Embperl,
> but Embperl grabs POST'ed data, so CGI doesn't have it. By changing
> my 'new CGI()' statements to 'new CGI(\%fdat);', my existing CGI-based
> code seems to work as expected. Is this the way other folks approach
> the issue, or is there some other technique, perhaps some automagical
> Embperl thing?
--
Open Fusion P/L - Open Source Business Solutions [ Linux - Perl - Apache ]
http://www.openfusion.com.au
- Fashion is a variable, but style is a constant - Programming Perl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]