Skip Menu |
 

This queue is for tickets about the Test-DoubleEncodedEntities CPAN distribution.

Report information
The Basics
Id: 18612
Status: new
Priority: 0/
Queue: Test-DoubleEncodedEntities

People
Owner: Nobody in particular
Requestors: jeff [...] zeroclue.com
Cc:
AdminCc:

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



Subject: DoubleEncodedEntities does not work with HTML::TokeParser::Simple v. 3.15
Download (untitled) / with headers
text/plain 1.1k
HTML::TokeParser::Simple v. 3.15 does not accept "doc =>" in the constructor, it wants "string =>". I'm not sure when the change in HTML::TokeParser::Simple was made, but the Build.PL file should probably be more strict about the required version. OS (Tiger 10.4.6) & perl version: [goo:~] jeff% uname -a; perl -v Darwin goo 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc This is perl, v5.8.6 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) The following diff against lib/Test/DoubleEncodedEntities.pm fixes the issue: --- Test-DoubleEncodedEntities-0.01/lib/Test/DoubleEncodedEntities.pm 2004-08-23 05:40:33.000000000 -0700 +++ Test-DoubleEncodedEntities-0.02/lib/Test/DoubleEncodedEntities.pm 2006-04-08 22:27:00.000000000 -0700 @@ -24,7 +24,7 @@ my $name = shift || "double encoded entity test"; # parse the input - my $p = HTML::TokeParser::Simple->new( doc => $input ) + my $p = HTML::TokeParser::Simple->new( string => $input ) or die "Can't parse input"; $p->unbroken_text(1);


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.