perlAffen has asked for the wisdom of the Perl Monks concerning the following question:

I need to place a Perl Module that I nomally place where I find Ping.pm in 'Net' area, but on this Darwin box I am working with, it has a weird structure. The only pm's I can find are in locations like this and ther is no Ping.pm
./System/Library/Perl/5.8.6/darwin-thread-multi-2level/mod_perl.pm
./System/Library/Perl/5.8.6/darwin-thread-multi-2level/mod_perl_hooks.pm
./System/Library/Perl/5.8.6/darwin-thread-multi-2level/mod_perl_hooks.pm.PL
./System/Library/Perl/5.8.6/ExtUtils/Miniperl.pm
Can anyone advise me how to add a pm to this system ?

Replies are listed 'Best First'.
Re: Perl on macOSX Darwin
by marto (Cardinal) on Oct 18, 2005 at 15:17 UTC
    Hi perlAffen,

    "sudo perl -MCPAN -eshell" from the terminal should get you started.
    If this is the first time you have typed the above command it will ask a bunch of questions.
    Then you can install the module by typing "install Net::Ping" at the "cpan> " prompt you should have on the terminal.

    Hope this helps.

    Martin
Re: Perl on macOSX Darwin
by larryp (Deacon) on Oct 18, 2005 at 16:53 UTC

    Hi perlAffen,

    Take a look here: A Guide to Installing Modules. That will provide you with a great deal of information about installing modules.

    While you're at it, also take a look at: Tutorials. It will help you get the most out of your time, and the other Monks, here in the monastery.

    Best Wishes,

    /Larry