On Wed, 25 Aug 2004, Joe Echavarria wrote:

 I want to know if there is an utility that i could
use to install the perl modules directly from CPAN on
a sun solaris box.
 It is something like ppm on windows activeperl.

You seem to be thinking of the CPAN shell.

Run this command to set it up:

    perl -MCPAN -e shell

You will need root / sudo access to run this. The first time you run it, you will spend five minutes or so answering questions about your setup; in most cases the defaults will be fine, but if you're asked if you want to upgrade Perl itself, *don't* let it -- there's a bug in some old versions of CPAN.pm that will make a royal mess if you let it do this.

Once the CPAN shell is set up, you can just do things like this:

    perl -MCPAN -e 'install Bundle::Whatever'

or

    $ sudo perl -MCPAN -e shell
    cpan> install Bundle::Whatever

etc.

Very useful...



--
Chris Devers      [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/

np: 'C'Era Una Volta Il West - Titoli'
     by Ennio Morricone
     from 'Le Colonne Sonore Originali Dei Film Di Sergio Leone'

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to