Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTTP-Server-Simple-PSGI CPAN distribution.

Report information
The Basics
Id: 54769
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple-PSGI

People
Owner: Nobody in particular
Requestors: Gregory.Siems [...] state.mn.us
Cc:
AdminCc:

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



Subject: uninitialized value bug
Date: Thu, 18 Feb 2010 13:06:01 -0600
To: bug-HTTP-Server-Simple-PSGI [...] rt.cpan.org
From: Gregory Siems <Gregory.Siems [...] state.mn.us>
Error: Use of uninitialized value $line in length at /opt/perl/current/lib/site_perl/5.10.1/HTTP/Server/Simple/PSGI.pm line 137. Proposed solution is to ensure that $line is defined before checking it's length: $ diff old-PSGI.pm new-PSGI.pm 137c137 < $cb->($line) if length $line; --- Show quoted text
> $cb->($line) if ($line && length $line);
Thanks, --greg