Quote:
but it is still not working when I download perl5.8.8.
and cp base.pm in below directory.
|
There is a huge difference between base.pm and Base.pm :
Lower case b , upper case B . Only the correct one will do.
And it is not the base.pm from perl 5.8.8.
There are lots of files by name base.pm or Base.pm ( About 50 ).
They are all different. (Please try 'locate Base.pm' and then 'locate base.pm'.)
The one I used is the
upper case Base.pm from the package
perl-Class-Classgen-classgen. (Is one of th 5,000 extra perl modules.)
I got the package by using # yum install perl-Class-Classgen-classgen
( It is in the Rpmforge repo.)
You can also fetch it here ( the source code )
http://search.cpan.org/~mschlue/Clas...classgen-3.03/
http://search.cpan.org/CPAN/authors/...en-3.03.tar.gz
> Class-Classgen-classgen-3.03.tar.gz ( 24 kB ).
The first word in Filename::Base.pm is a directory,
which must be created by you : 1) cd /usr/lib/perl5/5.8.8/
2) # mkdir Filename
3)
Code:
# cp /usr/share/doc/perl-Class-Classgen-classgen-3.03/examples/inheritance/Base.pm /Filename/
Or from the source code package :
cd Class-Classgen-classgen-3.03/examples/inheritance/
# cp Base.pm /usr/lib/perl5/5.8.8/Filename/
..
Please also try # 'yum search perl' to get an idea of the huge count of packages.
( Or # yum list all perl* > available-perl.txt )
My count is 740 : the CentOS-Base.repo +
epel.repo.
EPEL : Extra Packages for Enterprise Linux
And if the
rpmforge.repo is installed, the total count is 2,600 perl packages.
..