Hi Gerald,
On Tue, May 22, 2001 at 07:33:38AM +0200, Gerald Richter wrote:
> > Yes, I know about EMBPERL_OBJECT_FALLBACK, but here I'm doing an
> > Embperl::Execute (of a component) not the initial
> > EmbperlObject::Execute, so I don't think this applies? An
> > Embperl::Execute fallback option would be really useful here if such a
> > thing does exist ...
>
> In this case you can set options => HTML::Embperl::optReturnError, then
> Execute doesn't generate an error page, but returns an error code. To get
> the full errormessages, you can use the errors parameter.
I'd tried that without success - the following, for example, doesn't
work for me:
----
<html><body bgcolor="white">
<p>Executing here:</p>
[- Execute { inputfile => 'foo.html', options => 262144 } -]
<p>Done.</p>
</body></html>
----
I've found it does work now if I set it via EMBPERL_OPTIONS rather than
within the Execute - should the above work or not?
Cheers,
Gavin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]