Subject: | Invalid exception handling in request() method |
Hi.
In code of FCGI/Client/Connection.pm, in method request(), there are
references to $@ in catch {...} block:
} catch {
if ($@) {
die $@;
} else {
return @res;
}
};
I think you meant to use $_ instead. $@ in catch block contains
_previous_ exception, before try {} call.
Also, there is a typo in Carp::confess('REQUESET_TIME_OUT') argument :)