Skip Menu |

This queue is for tickets about the LWP-Charset CPAN distribution.

Report information
The Basics
Id: 16478
Status: resolved
Priority: 0/
Queue: LWP-Charset

People
Owner: Nobody in particular
Requestors: njh [...] bandsman.co.uk
Cc:
AdminCc:

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



Subject: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.6/LWP/Charset.pm line 83
This program causes the module to give a pattern match failure: #!/usr/bin/perl -wT use strict; use LWP::UserAgent; use LWP::Charset; my $response = LWP::UserAgent->new()->get("http://www.brass.ch/sbbv/index.htm"); print "Charset is " . LWP::Charset::getCharset($response) . "\n";
[guest - Wed Dec 14 03:32:32 2005]: Show quoted text
> This program causes the module to give a pattern match failure: > > #!/usr/bin/perl -wT > > use strict; > use LWP::UserAgent; > use LWP::Charset; > > my $response = LWP::UserAgent->new()- > print "Charset is " . LWP::Charset::getCharset($response) . "\n";
Thanks for reporting this. This warning issues is now fixed in the upcoming release (0.05). It also fixes a possible bug when multiple lines of <meta> are given. Cheers, Kang-min Liu