in reply to Re: Re: Re: Re: Small Net::SMTP problem
in thread Small Net::SMTP problem
Oh... Then it is going to STDERR. eval {} only catches die messages; it doesn't catch warnings, which still go directly to STDERR. Try this snippet:
eval { warn "Warning\n"; die "Dying\n"; };