Skip Menu |

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

Report information
The Basics
Id: 67091
Status: resolved
Priority: 0/
Queue: WWW-Finger

People
Owner: perl [...] toby.ink
Requestors: peter [...] stuifzand.com
Cc:
AdminCc:

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



Subject: The module won't install, because of error in WWW::Finger::CPAN module
Problem is the module won't install. This is because of a test that fails. It seems like that the title of search.cpan.org/~user is encoded. The fix would be to decode the name that was parsed from the HTML. As a patch I added use HTML::Entities; at the top and replaced $name = $1; with $name = decode_entities($1); ----------------------------------------------------- root@banaan:/home/peter/.cpan/build/WWW-Finger-0.101-qHtvyx# prove -v -b t/01basic.t t/01basic.t .. 1..3 ok 1 - use WWW::Finger; ok 2 - CPAN finger worked not ok 3 - CPAN finger returned correct name # Failed test 'CPAN finger returned correct name' # at t/01basic.t line 8. # got: 'Toby Inkster' # expected: 'Toby Inkster' # Looks like you failed 1 test of 3. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests Test Summary Report ------------------- t/01basic.t (Wstat: 256 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 1 Files=1, Tests=3, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.60 cusr 0.07 csys = 0.70 CPU) Result: FAIL
Fixed in 0.102 which includes a completely rewritten WWW::Finger::CPAN.