Skip Menu |

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

Report information
The Basics
Id: 46860
Status: resolved
Priority: 0/
Queue: HTTP-Client

People
Owner: Nobody in particular
Requestors: amijaresp [...] gmail.com
Cc:
AdminCc:

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



Subject: test stops
Date: Fri, 12 Jun 2009 14:47:46 +1930
To: bug-http-client [...] rt.cpan.org
From: Alberto Mijares <amijaresp [...] gmail.com>
When Show quoted text
cpan> install HTTP::Client
the test can't run, so the install process stops. It reports PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Global symbol "$file" requires explicit package name at blib/lib/HTTP/Client.pm line 44. Global symbol "$file" requires explicit package name at blib/lib/HTTP/Client.pm line 45. Global symbol "$file" requires explicit package name at blib/lib/HTTP/Client.pm line 48. Compilation failed in require at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3. *** Error code 9 So i just patched like this - unless (-e $file) { + unless (-e my $file) { in .cpan/build/HTTP-Client-1.51-e7MyxK/blib/lib/HTTP/Client.pm then, install is success.