How To Dynamically Add a Path to the Perl @INC At Compile-Time

Author: , April 16th, 2021

The key is to define a variable first, then use the BEGIN block to initialize the variable, then reference the variable in use lib $var; later on ;-} For example, enable a module contained in the same directory as a script called via the PATH:

How To Manually Compile and Minify LESS Source Files

Author: , May 24th, 2012

Prerequisites: LESS Compiler YUI Compressor Unzip and copy the build/yuicompressor-2.4.7.jar file to a known location. Java runtime Install of this is beyond the scope of this post

Good luck!

How To Install CurlFTPFS On Amazon Linux/CentOS

Author: , February 25th, 2012

How To Install mcrypt For PHP53 On CentOS

Author: , August 12th, 2011

To get mcrypt support for PHP 5.3, compile and install just the mcrypt extension. First, get the prerequisites:

Download the php source code from, for example:

Now, cd to the proper place and follow these steps:

Create the configuration file for MCrypt /etc/php.d/mcrypt.ini containing:

Restart apache:

Create a file […]

How to Prevent X11 Modules from Compiling in Ports Tree

Author: , November 8th, 2009