Hi,
>
> It seems %fdat got messed up when calling Execute() from within a cgi
> script:
>
>[..]
> HTML::Embperl::Execute ( { 'inputfile' => 'test.tpl' , 'fdat' => \%fdat
> } );
>[..]
> It works as expected when I remove the attribute
> 'enctype="multipart/form-data"'
>
> Is this a bug or have I missed something?
>
It's a bug, Embperl disregards the fdat parameter, if you have posted
"multipart/form-data". Workaround is to set optDisableFormData:
HTML::Embperl::Execute ( { 'inputfile' => 'test.tpl' , 'fdat' => \%fdat,
'options' => HTML::Embperl::optDisableFormData
}) ;
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------