Gerald Richter wrote:
> In 1.3.6 "die" only ends the current block, not the file. If you want to end
> processing of the file, you have to use exit, but exit only ends the
> proessing of the current file, the caller will still continue. You have to
> catch it somehow there.

Mm... No, I do not understand something, in spite of your explanation.

Let me say diversly:

When I Execute one file (title.epl, and there is "die" in it) and after (or
before) that try to catch output of another (output of some.epl, into $res), I
receive error messages from title.epl (!) in $res variable.

But I didn't try to catch output of title.epl at all!
Why are they (errors from title.epl) sitting in the variable, which should
contain the output of some.epl?

This is my testing .epl file:

        <H1>[- Execute('title.epl'); # should die there -]</H1>
        [-
                Execute({
                        inputfile=>"some.epl",
                        output=>\$res,
                });

                print OUT $res;
        -]
        <hr>

If there are no errors in title.epl than there are no questions. All
happens exactly as expected.

---
Filin





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

Reply via email to