Private Perl Instance
Published on 10 Mar 2004Tags #Perl
Imagine you intend to give threaded programming in perl a try. You do not want to update the system-wide perl installation because many perl modules are not thread-safe. A private perl installation is the only viable solution. After unpacking the perl distribution and changing into the newly created directory executethe following commands:
sh Configure -Dprefix=$(cd .. && pwd)/PERL -Uinstallusrbinperl -des
make
make install
NOTE: The -Dprefix
parameter requires an absolute path to be supplied. So you either need to substitute the $(...)
construct or use it to build the absolute path from a relative.
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.