Skip Menu |

This queue is for tickets about the WWW-Crawler-Lite CPAN distribution.

Report information
The Basics
Id: 107674
Status: new
Priority: 0/
Queue: WWW-Crawler-Lite

People
Owner: Nobody in particular
Requestors: head_dunce [...] yahoo.com
Cc:
AdminCc:

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



Subject: Bug in WWW Crawler Lite
Date: Fri, 9 Oct 2015 20:07:31 +0000 (UTC)
To: "bug-WWW-Crawler-Lite [...] rt.cpan.org" <bug-WWW-Crawler-Lite [...] rt.cpan.org>
From: Jim Frey <head_dunce [...] yahoo.com>
Not a big deal, but lines 152 should be changed to something like this, or you'll be thrown errors with $type not being defined depending on the web site.     148     my $res = $ua->request( GET $url );     149     150         my $type = '';     151         if( defined $res->header('content-type') ){     152                 ($type) = split /\;/, $res->header('content-type');     153         }