|
gsiglet has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I did recently a "cpan upgrade" on my Fedora Linux. I guess I shouldn't have done that, because every time I use perldoc (e.g. perldoc HTML::Tag) there is the following error message:
Can't locate object method "fullstop_space_harden" via package "Pod::Man" at /usr/lib/perl5/5.8.8/Pod/Man.pm line 83.
Got a 0-length file from /usr/lib/perl5/site_perl/5.8.8/HTML/Tree.pm via Pod::Perldoc::ToMan!?
Any help?
Thank you
Re: Cpan upgrade: Error
by Sixtease (Friar) on Nov 13, 2007 at 16:06 UTC
|
Hello to you.
I wonder if this is what I was just talking about. I suggest you could try to find if some of the packages aren't installed twice in some of your @INC directories. Such things happen to me when I upgrade stuff. I solve it by removing the older version of the package.
Hope this helps.
| [reply] |
|
|
Thanks you for your reply. I guess it won't be that easy to find duplicate modules. But why I can use any module within a perl script, but I cannot 'perldoc' it?
| [reply] |
Re: Cpan upgrade: Error
by shmem (Chancellor) on Nov 13, 2007 at 16:45 UTC
|
Hello, I did recently a "cpan upgrade" on my Fedora Linux.
How did you do that? via yum (upgrading perl-* rpms) or upgrading via CPAN?
First upgrade all perl-* packages you installed from a yum (Fedora) repository, then do an
upgrade of local stuff, probably via the CPAN shell. But I'd suggest you to use cpanflute2 from
RPM::Specfile to roll your local rpms and install those.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
| [reply] |
|
|
I upgraded via CPAN. How can I undo that upgrade?
| [reply] |
|