in reply to Re: script dies with 'broken pipe'-message, even in eval
in thread script dies with 'broken pipe'-message, even in eval
was actually my first try. But there was nothing in $@ , so _db_recover() was never executed. The returnvalue-for-eval did the trick and at least got the _db_recover() function executed.eval { $dbh->execute(@values); }; if ($@) { _db_recover(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: script dies with 'broken pipe'-message, even in eval
by mifflin (Curate) on May 25, 2004 at 17:30 UTC | |
by eXile (Priest) on May 25, 2004 at 20:42 UTC | |
by mifflin (Curate) on May 25, 2004 at 21:10 UTC |