>
> Apparently something isn't getting cleared, so the Mail::Execute fails.
>

Yes, in 1.3.x you need to clear Embperl's internal error flag:

> I also tried setting optReturnError, but that doesn't appear to do
> anything either.

You need to set optReturnError

[-
    $r = shift ;
      my @errors;
      Execute({inputfile => '*', errors => \@errors, options =>
HTML::Embperl::optReturnError});
      $r -> Error = 0 ;
      if (@errors) {
          Execute({inputfile => "ierror.html", param => \@errors});
      }
-]

Reseting the error flag isn't necessary in 2.0

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