It only seems to happen on certain modules. I'm suspecting it's more a
damaged perl install. this is a RH 7.1 box and I downloaded/installed perl
5.6.1 on it to replace the 5.6.0 that it came with. I'm re-running the make
install from the perl build dir (Thankfully I saved it) and when it's done
will try again.
It's odd tho. I type:
perl -MCPAN -e 'install GD' and it works fine. Only with thinks like
HTTP::Date and Data::Dumper does it work. I'm not sure whats up.
Anyway, Once the re-install of perl is done, I'll make sure I'm at the
latest CPAN, then try again.
----- Original Message -----
From: Peter Scott <[EMAIL PROTECTED]>
To: Dan Egli <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 01, 2001 11:39 AM
Subject: Re: HTTP::Date???
> At 11:15 AM 6/1/2001 -0600, Dan Egli wrote:
> >[root@shortcircuit /root]# perl -MCPAN -e 'install HTTP::Date'
> >Can't locate object method "install" via package "HTTP::Date" (perhaps
you
> >forgot to load "HTTP::Date"?) at -e line 1.
>
> Sorry, I had to ask.
>
> You have some strange problem with your CPAN module. It obviously hasn't
> exported its install function. I'd reinstall CPAN.pm. Try
>
> perl -MCPAN -e shell
> install Bundle::CPAN
>
> although there's a large chance that the first command will fail also, in
> which case you'll have to download CPAN.pm and install it manually.