I'm having some trouble install the LWP bundle with 5.81. Does anyone know why I would be getting this response:
Running make test /usr/bin/perl t/TEST 0 base/common-req.......ok base/cookies..........ok base/date.............ok base/headers-auth.....ok base/headers-etag.....ok base/headers-util.....ok base/headers..........ok base/http.............ok base/listing..........ok base/mediatypes.......ok base/message..........ok base/negotiate........ok base/response.........ok base/status...........ok base/ua...............ok html/form.............Can't call method "value" on an undefined value at html/form.t line 26. html/form.............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 2-14 Failed 13/14 tests, 7.14% okay robot/rules-dbm.......ok robot/rules...........ok robot/ua-get..........ok robot/ua..............ok local/autoload-get....ok local/autoload........ok local/get.............ok local/http-get........ok local/http............ok local/protosub........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- html/form.t 2 512 14 25 178.57% 2-14 Failed 1/26 test scripts, 96.15% okay. 13/343 subtests failed, 96.21% okay. make: *** [test] Error 255 I've investigated as far as the test file in t/html/form.t, and the problem seems to be here: @f = HTML::Form->parse(<<'EOT', "http://localhost/"); <form action="abc" name="foo"> <input name="name"> </form> <form></form> EOT print "not " unless @f == 2; print "ok 2\n"; my $f = shift @f; --->print "not " unless defined($f->value("name")) && $f->value("name") eq ""; Using Data::Dumper, it shows that the @f array is defined but empty. I'm not too sure where to go past here though (not a module writer! Yet!). Would there be any bad consequences to forcing the install? Ian Knopke