in reply to Newbie Adding Module to Perl

First read the README file. If it does not help: perl Makefile.PL; make test; make install should do the trick. But the best way to do it would be by using the CPAN module: perl -MCPAN -e shell. There is a help command in it - so you should not be lost there. The command install Sys::Alarm would download the module, compile it (if it is needed) and install it for you.

Replies are listed 'Best First'.
Re: Re: Newbie Adding Module to Perl
by from_laura (Initiate) on Apr 09, 2003 at 21:29 UTC
    Thanks for the help everyone. I tried both ways. When I tried with the cpan.pm, I received a configuration dialog (below) are there recommended locations for these items? Basically I went with manual configuration but then bailed out since it wanted to place the cache under root's directory. Thanks again. -Laura
    [root@uswsy1 bin]# perl -MCPAN -e shell We have to reconfigure CPAN.pm due to following uninitialized paramete +rs: cpan_home, keep_source_where, build_dir, build_cache, scan_cache, inde +x_expire,y /usr/lib/perl5/5.6.0/CPAN/Config.pm initialized. CPAN is the world-wide archive of perl resources. It consists of about 100 sites that all replicate the same contents all around the globe. Many countries have at least one CPAN site already. The resources found on CPAN are easily accessible with the CPAN.pm module. If you want to use CPAN.pm, you have to configure it properly. If you do not want to enter a dialog now, you can answer 'no' to this question and I'll try to autoconfigure. (Note: you can revisit this dialog anytime later by typing 'o conf init' at the cpan prompt.) Are you ready for manual configuration? [yes]

    update (broquaint): added formatting

      For me the placement of the cache never was a problem. It creates it's own directory for it so it won't overwrite anything there. Why did you not found it problematic?