Thank you, Gerald. Your recipe is perfectly good for me, but I have new 
questions about catching output (Embperl 1.3.6).

Let us assume that we have next three files:

some.epl
        Some text (Content does not matter)

title.epl
        [- die "Die in title.epl, " -]
        Test

test.epl
        <H1>[- Execute('title.epl'); # should die there -]</H1>
        [-
                Execute({
                        inputfile=>"some.html", 
                        output=>\$res,
                });
        
                #print OUT $res;
        -]
        <hr>
        I am alive. Why!?!


I thought that execution of test.html should die in the title.epl. 
However, it doesn't. 

Well, it will die, but _only_ if we comment the "output=>\$res" in the test.epl.

Moreover, the most strange for me: if we uncomment "#print OUT $res", we'll 
discover that there are lost error messages in the $res. Why it is so, if we 
didn't try to catch output of "Execute('title.epl')"?

I dont understand what's happening. :(
Could some kind person explain it for me?

Thanks.
---
Filin




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

Reply via email to