Category Archives: How Tos

Build A Custom PERL Installation

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 … Continue reading

Posted in How Tos, perl, Programming | 2 Comments

How To Pass PERL Library Paths From The Environment

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 … Continue reading

Posted in How Tos, perl, Programming | 3 Comments

How To Prevent A PERL Script From Running As Root

At or near the top of your app, before it executes anything sensitive, place the following code: if((getpwuid($

Posted in How Tos, perl, Programming | 1 Comment