If you want to build a PERL installation that is separate from your standard PERL, you can compile one, complete with CPAN support. Just follow these steps: mkdir /custom/perl/ cd /custom/perl/ curl -O http://www.cpan.org/src/perl-5.12.3.tar.gz mkdir perl-5_12_3 gunzip perl-5.12.3.tar.gz tar -xf perl-5.12.3.tar cd perl-5.12.3 ./Configure -d -Dprefix=/custom/perl/perl-5_12_3 make make test make install /custom/perl/perl-5_12_3/bin/perl -v /custom/perl/perl-5_12_3/bin/perl -e [...]
Entries Tagged as 'perl'
Build A Custom PERL Installation
April 11th, 2011 · No Comments
Tags: How Tos · perl · Programming
How To Pass PERL Library Paths From The Environment
April 11th, 2011 · No Comments
You can have PERL look in different places for libraries and modules using a number of methods. If you find yourself using a custom PERL module repository, you can make sure your PERL programs always reference it without touching the code. What we’re doing in a nutshell is telling PERL to push values on to [...]
Tags: How Tos · perl · Programming
How To Prevent A PERL Script From Running As Root
March 29th, 2011 · No Comments
At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($
Tags: How Tos · perl · Programming