Talk:OS X Perl

From Organic Design
Revision as of 19:04, 3 November 2006 by Bender (talk | contribs) (Caretaker: Format links, Format headings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Active perl users guide

OS X Configuration

The Apple Installer package installs ActivePerl in /usr/local/ActivePerl-5.8. To run the perl interpreter and PPM package manager (without having to enter the full path), add /usr/local/ActivePerl-5.8/bin to your PATH environment variable. For example:

   $ export PATH=/usr/local/ActivePerl-5.8/bin:$PATH

To permanently add the directory to your PATH, add it to the .profile or .bash_profile file in the user's home directory. For example:

   export PATH

Alternatively, symbolic links to the binaries can be created in any bin directory currently in the PATH. For example:

   $ ln -s /usr/local/ActivePerl-5.8/bin/perl /Users/<username>/bin/perl
   $ ln -s /usr/local/ActivePerl-5.8/bin/ppm /Users/<username>/bin/ppm

How does this affect scripts which start with the standard #!/usr/bin/perl ? Nad 08:53, 23 Jan 2006 (NZDT)