Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 112710
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

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



Subject: nntp.pm calls $nntp->message after undeffing $nntp
If I try to fetch a bogus (nonexistent) nntp message, I get the following: $ lwp-request nntp://nntp.perl.org/blahblahblah@blahblahblah Can't call method "message" on an undefined value at /Users/sprout/perl/lib/site_perl/5.22.0/LWP/Protocol/nntp.pm line 104. Line 104 in nntp.pm calls a method on a variable undefined two lines earlier. This is with perl 5.22.0 and LWP 6.15, though neither version number should make much difference. This bug is old.
On Fri Mar 04 16:12:32 2016, SPROUT wrote: Show quoted text
> If I try to fetch a bogus (nonexistent) nntp message, I get the > following: > > $ lwp-request nntp://nntp.perl.org/blahblahblah@blahblahblah > Can't call method "message" on an undefined value at > /Users/sprout/perl/lib/site_perl/5.22.0/LWP/Protocol/nntp.pm line 104. > > Line 104 in nntp.pm calls a method on a variable undefined two lines > earlier. > > This is with perl 5.22.0 and LWP 6.15, though neither version number > should make much difference. This bug is old.
Fix is in https://github.com/libwww-perl/libwww-perl/pull/121 Still needs a test.
On Wed Mar 01 22:17:47 2017, OALDERS wrote: Show quoted text
> On Fri Mar 04 16:12:32 2016, SPROUT wrote:
> > If I try to fetch a bogus (nonexistent) nntp message, I get the > > following: > > > > $ lwp-request nntp://nntp.perl.org/blahblahblah@blahblahblah > > Can't call method "message" on an undefined value at > > /Users/sprout/perl/lib/site_perl/5.22.0/LWP/Protocol/nntp.pm line > > 104. > > > > Line 104 in nntp.pm calls a method on a variable undefined two lines > > earlier. > > > > This is with perl 5.22.0 and LWP 6.15, though neither version number > > should make much difference. This bug is old.
> > Fix is in https://github.com/libwww-perl/libwww-perl/pull/121 Still > needs a test.
Bug fix was merged today. I'll be in 6.23