Skip Menu |

This queue is for tickets about the Gungho CPAN distribution.

Report information
The Basics
Id: 64010
Status: new
Priority: 0/
Queue: Gungho

People
Owner: Nobody in particular
Requestors: icabrera [...] cpan.org
Cc: i.arbeca [...] gmail.com
AdminCc:

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



CC: i.arbeca [...] gmail.com
Subject: Use of uninitialized value in pattern match (m//) at (...)/Gungho/Request.pm
Hi, I got this error several times when running Gungho : Use of uninitialized value in pattern match (m//) at /usr/local/perl-dists/perls/perl-5.12.2/lib/site_perl/5.12.2/Gungho/Request.pm line 98. Here is the code in Gungho/Request.pm : sub requires_name_lookup { my $self = shift; return ! $self->notes('resolved_ip') && ($self->uri->can('host') && $self->uri->host() !~ /^$RE{net}{IPv4}$/); ## line 98 } The error is thrown when $self->uri->host() is undef. This variable could be checked before, but maybe there is a deeper problem here ? Regards, Isabelle Cabrera