Skip Menu |
 

This queue is for tickets about the Geo-IPfree CPAN distribution.

Report information
The Basics
Id: 45192
Status: resolved
Priority: 0/
Queue: Geo-IPfree

People
Owner: Nobody in particular
Requestors: tony [...] tuxick.net
Cc:
AdminCc:

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



Subject: use of uninitiated value in Geo/IPFree.pm
Date: Tue, 21 Apr 2009 20:07:25 +0200
To: bug-Geo-IPfree [...] rt.cpan.org
From: Tony den Haan <tony [...] tuxick.net>
Download (untitled) / with headers
text/plain 241b
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.8/Geo/IPfree.pm line 87. Fix: #if ($#_ <= 0 && $_[0] !~ /^[\w:]+$/) {^M unless (defined $_[0] && $_[0] =~ /^[\w:]+$/) { Tony
Download (untitled) / with headers
text/plain 292b
I believe this issue stems from using the module via: my $g = Geo::IPfree::new(); It really should be used like: my $g = Geo::IPfree->new(); In any case, I've fixed the warning in the source, as commit: http://github.com/bricas/geo-ipfree/commit/4cf0b3374bf538f7f851b5ee46be304660a60398


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.