Em Tue, 3 Sep 2002 12:18:47 -0700
"Mark Dedlow" <[EMAIL PROTECTED]> escreveu:

> 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?
> 

Hi,

Try porting your scripts to the Embperl "idiom", take a look at the
man page >perldoc HTML::Embperl. You will discover that Embperl is a
rich enviroment and you will be alot more productive.

To access the form fields in a Embperl page use the %fdat hash:
        $fdat{Name}     # CGI = param('Name');


Regards,

Luiz Fernando B. Ribeiro
Engenho Soluções para a Internet

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to