perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filin <>
Subject Error messages and catching output
Date Tue, 20 Jul 2004 09:56:03 GMT

I have yet another question about output catching.

Let us look at this code:

	# 1) Execute some file with errors in it:

	# 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})
	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)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message