installing perl modules

Hi All,

I have a customer asking me to install these perl modules on redhat 4 ent:

File::Temp
Getopt::Long
DBD::mysql
Mail::Mailer
DBD::DB2

Any idea how can I install those modules.

Thanks for any comment you may add.

You will need to invoke cpan.

perl -MCPAN -e shell

Next Install the modules you need.

cpan> install File::Temp

Google can provide you with tons of useful information on installing perl moudules.

Jaysunn

File::Temp is included in the standard distribution since 5.6.1, and Getopts::Long should be there too. The DBD and Mail modules should be in your distributions repositories.

If they aren't, there are pretty good examples on how to install them even manually, by invoking "perl Makefile.PL, make, make test, make install."