[Pdx-pm] maintaining your own perl tree

Peter Scott Peter at PSDT.com
Wed Aug 27 09:08:09 PDT 2008

At 01:18 AM 8/27/2008, Allison Randal wrote:
>If you compile your perl in some custom location (/usr/local or 
>/opt/perl), and make sure it knows to respond to '#!/usr/bin/perl' on 
>the shebang line (it's a configuration option when compiling perl, the 
>shebang line doesn't have to match the path),

What option is that?  I'm only familiar with the one that tells it to 
overwrite /usr/bin/perl in addition to building somewhere else.

>then all you have to do is change your PATH environment variable so 
>/usr/local/bin (or /opt/perl/5.8.8/bin) comes before /usr/bin, and 
>you'll always get your compiled perl instead of the vendor's perl, 
>while the rest of the system will get the vendor's perl.

Peter Scott
Pacific Systems Design Technologies

More information about the Pdx-pm-list mailing list