Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 18184
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.67
Fixed in: (no value)



Subject: Typo: UNIVERSAL::isa($c, 'shutdown') -> s/isa/can/
There is a typo in SOAP::Transport::HTTP. Line 500 says: UNIVERSAL::isa($c, 'shutdown') ? $c->shutdown(2) : $c->close(); This doesn't make sense: $c is not a member of a class called 'shutdown'. I believe this code intended to use 'can', not 'isa'. Furthermore, this use of the functional form of UNIVERSAL:: is disrecommended as of Perl 5.9.x (see http://search.cpan.org/~rgarcia/perl-5.9.3/lib/UNIVERSAL.pm). The recommended usage is: eval { $c->can('shutdown') } ? $c->shutdown(2) : $c->close(); Thanks, Chris
Fixed in CVS, will be in next release. Thanks, Martin