Why am I getting 'ppm: Command not found' on Mac OSX after installng ActiveState Perl?

I'm running Mac OS X 10.7.5.

When I type Perl -version I get:

This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for more detail)

Then when I type ppm the perl package manager isn't found.

ppm: Command not found.

Is there something wrong with my installation? How can I fix this issue. I attempted to install the latest version of of ActiveState and unfortunately, it didn't overwrite the current version.

4

2 Answers

I attempted to install the latest version of of ActiveState and unfortunately, it didn't overwrite the current version

Don't try to overwrite your system perl; that will get you nothing but grief. Make sure you put the path to ActiveState perl ahead of system paths in your .bashrc or similar configuration file for your shell. See also OS X Configuration.

3

PPM is used by Activestate Perl which is for windows, if I correct.

Please use cpan, cpanm (or perlbrew) to manage perl packages on mac osx.

Regards,

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like