Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi my name is Leah-Anne, can anyone advise on this error message. PLEASE. I tried to install LWP and got the following error during "make test":
------------------------- base/message........Can't use string ("URI::URL") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.005/URI/WithBase.pm line 41. dubious Test returned status 2 (wstat 512, 0x200) Undefined subroutine &Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/ Test/Harness.pm line 288. make: *** [test] Error 2 [admin libwww-perl-5.53]$
-------------------------------

I would appreciate any help. Please try to keep any explanations simple. I am a beginner,

Thanks in advance,

Leah-Anne Thompson (Miss)
I can be contacted direct at lovleah@hotmail.com

2002-02-12 Edit by Corion : Added formatting and CODE tags.

Replies are listed 'Best First'.
Re: LWP - InstallationError. Gurus Please Help me :)
by dash2 (Hermit) on Feb 12, 2002 at 12:26 UTC

    The simplest way to use CPAN, if you already have the CPAN module installed, is from the command line:

    > perl -MCPAN -e shell

    And from the CPAN command line:

    install LWP::UserAgent

    It will automatically detect any other updates you need and get them for you.

    dave hj~

Re: LWP - InstallationError. Gurus Please Help me :)
by gellyfish (Monsignor) on Feb 12, 2002 at 12:05 UTC

    the libwww-perl-5.53 is quite an old one I would download the latest one from CPAN and try that in the first instance. I have just installed and tested this and it works for me

    /J\