in reply to Re: Re: Re: Re: script dies with 'broken pipe'-message, even in eval
in thread script dies with 'broken pipe'-message, even in eval

Using eval to try and catch errors with DBI code is useless unless you set RaiseError on.
Try that and possibly something like...
local $SIG{PIPE} = sub {die "Unable to execute"};
before the execute you know is going to fail.
  • Comment on Re: Re: Re: Re: Re: script dies with 'broken pipe'-message, even in eval
  • Download Code