Hi,
>
>
> However when I run escmode.pl where escmode.pl is the following perl
script.
>
> --
> #!/usr/local/bin/perl
>
> use HTML::Embperl;
> HTML::Embperl::Execute("/export/home/mjs/bin/escmode.epl");
> --
>

Execute does not scan the environment per default.
In version before 2.0b6 you need to call ScanEnvironemnt to get the values:

use HTML::Embperl;
my %req ;


HTML::Embperl::ScanEnvironment(\%req) ;
HTML::Embperl::Execute({%req, inputfile =>
"/export/home/mjs/bin/escmode.epl"});

Starting with 2.0b6 you must use the use_env parameter:

use Embperl;
Embperl::Execute({use_env => 1, inputfile =>
"/export/home/mjs/bin/escmode.epl"});

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 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




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

Reply via email to