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

Owner: Nobody in particular
Requestors: tony [...]

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

Subject: use of uninitiated value in Geo/
Date: Tue, 21 Apr 2009 20:07:25 +0200
To: bug-Geo-IPfree [...]
From: Tony den Haan <tony [...]>
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/ 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:

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

Please report any issues with to