FAQ
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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedJul 20, '04 at 9:56a
activeJul 20, '04 at 9:56a
posts1
users1
websiteperl.apache.org

1 user in discussion

Filin: 1 post

People

Translate

site design / logo © 2022 Grokbase