> Take a look at embpcgi.pl. If you set optReturnError in EMBPERL_OPTIONS
then
> the return value in $rc will contain zero for succes and an error code for
> all other cases. embpcgi.pl already outputs a small error document and you
> may replace it by your own. Unfortunately you don't have access to the
Perl
> errors displayed by EMbperl. If you need them you must replace the call to
> runcgi by a call to Execute and pass the correct path as inputfile.
Execute
> is able to return an array with all error messages.


So the later option would be something like:

my @errors = HTML::Embperl::Execute($ENV{PATH_TRANSLATED});
...handle errors...

??

I couldn't find anywhere in the docs where the return value of Execute was
used...it's all just Execute($blah, $etc)....

What's the syntax of getting error messages that occur from Execute??

Jon Brisbin



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

Reply via email to