Hi.
I have yet another question about output catching.
Let us look at this code:
[-
# 1) Execute some file with errors in it:
Execute('with-errors.epl');
# 2) Execute anything, and catch output
Execute({inputfile=>"some.epl", output=>\$out});
# $out now contain errors from the "with-errors.epl"
-]
And no one error will be shown in browser.
It's bad.
If I don't mistake, it's possible to say:
[-
Execute('with-errors.epl') -]
Execute({inputfile=>"some.epl", output=>\$out})
$req=shift;
die if $req->Error();
-]
And then, ALL errors WILL be shown.
But what if I don't want to see possible errors from the some.epl?
(Embperl 1.3.6)
---
Filin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]