Difference between revisions of "Talk:OS X Perl"

From Organic Design wiki
m
Line 1: Line 1:
;ActivePerl installed
+
=[http://perlhelp.web.cern.ch/PerlHelp/perltoc.html Active perl users guide]=
*Currently do not see any changes to the old version of perl (/usr/bin/perl should now be 5.8.7)
 
*Cannot find any Additional libraries
 
 
 
*Better check out the [http://perlhelp.web.cern.ch/PerlHelp/perltoc.html Active perl users guide].
 
  
 
==OS X Configuration==
 
==OS X Configuration==

Revision as of 19:30, 22 January 2006

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:

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

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

   PATH=/Users/<username>/bin:$PATH
   $ 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