Skip Menu |

This queue is for tickets about the Net-Async-HTTP CPAN distribution.

Report information
The Basics
Id: 122527
Status: resolved
Priority: 0/
Queue: Net-Async-HTTP

People
Owner: Nobody in particular
Requestors: DBOOK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.42



Subject: Incorrect Socket version test
$Socket::VERSION is tested with a direct numeric comparison, which fails or at least throws warnings when Socket.pm has an underscore version. The correct way to handle this version check for any style of version Socket.pm may have is to replace: if( $Socket::VERSION >= '2.010' ) { with: if( eval { Socket->VERSION('2.010'); 1 } ) { on this line: https://metacpan.org/source/PEVANS/Net-Async-HTTP-0.41/lib/Net/Async/HTTP.pm#L37
Thanks. Will be in 0.42. -- Paul Evans