Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-DevPopup CPAN distribution.

Report information
The Basics
Id: 53100
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-DevPopup

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

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



Subject: using CGI::Application::Plugin::DevPopup::Log produces a warning
Hello Rhesa, I've encountered a bug when using CGI::Application::Plugin::DevPopup::Log. On every call, a warning message is produced. Exact message depends of version of Log::Dispatch used. There can be one of following: Use of uninitialized value in concatenation (.) or string at C:/bin/dev/perl/site/lib/Params/ValidatePP.pm line 344 Use of uninitialized value in subroutine entry at C:/bin/dev/perl/site/lib/Log/Dispatch/Handle.pm line 20. Maybe some others too. I take some research and found that it appears when Log::Dispatch::Handle->new is called with IO::Scalar->new with the reference to undefined value. So, to get rid of this warning, $data in line 58 of DevPopup/Log.pm should be defined. Actually, fix is easy, line 58 should be changed this way: < my $data; Show quoted text
> my $data = '';
-- Serguei Trouchelle
Thanks Serguei, a new version is on its way to CPAN. Rhesa