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(); }
In reply to Re: Re: script dies with 'broken pipe'-message, even in eval
by eXile
in thread script dies with 'broken pipe'-message, even in eval
by eXile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |