Subject: | Erroneous assignment to $! in Net/SSL.pm |
The connect method contains this code:
# odd error in eval {} block, maybe alarm outside the evals
if($@) {
$! = "$@; $!";
croak($@);
}
The assignment should be to $@ and not to $!
A little earlier we there is the following code:
eval { $self->die_with_error("SSL negotiation failed") };
$@ = "$@; $!";
The assignment to $@ there becomes redundant once the code below is fixed.