Skip Menu |

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

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

Owner: Nobody in particular
Requestors: IKEGAMI [...]

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

Subject: $s = $s->new() or die $s->errstr;
Download (untitled) / with headers
text/plain 387b
The documentation includes the following twice: $s = $s->new() or die $s->errstr; That's not right. If it's possible for $s->new to return something false, the call to errstr will fail (possibly with the error C<< Can't call method "errstr" on an undefined value >>). If it's not possible for $s->new to return something false, the C<< die $s->errstr >> will never get executed.

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

Please report any issues with to