Skip Menu |
 

This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id: 111463
Status: new
Priority: 0/
Queue: CGI-Session

People
Owner: Nobody in particular
Requestors: steve.johnson [...] infxsolutions.com
Cc:
AdminCc:

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



Subject: load will fail after any previous error
Date: Wed, 27 Jan 2016 11:25:04 +0000
To: bug-CGI-Session [...] rt.cpan.org
From: Steve Johnson <steve.johnson [...] infxsolutions.com>
Download (untitled) / with headers
text/plain 514b
Hi, After some careful testing and code inspection, I've noticed that load() will always fail after any previous error has been set. This is simply because the test for errors from the call to _load_pluggables() (line 699 in v4.48) is a test that $class->errstr is not set. However, nothing earlier in load() explicitly clears this. Whether a call $self->set_error('') should be just before the call to _load_pluggables() or inside _load_pluggables() I leave to your preference :-) Regards Steve Johnson


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

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