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

Report information
The Basics
Id:
45192
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
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>
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
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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