Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

acme (189)

acme
  (email not shown publicly)
http://www.astray.com/

Leon Brocard (aka acme) is an orange-loving Perl eurohacker with many varied contributions to the Perl community, including the GraphViz module on the CPAN. YAPC::Europe was all his fault. He is still looking for a Perl Monger group he can start which begins with the letter 'D'.

Journal of acme (189)

Monday January 07, 2008
07:30 AM

-Duserelocatableinc

[ #35318 ]
One feature I like in Perl 5.10 is relocatable @INC support. From the commit by Nicholas "You can install things to the current location of the perl tree, move it, install more things, move it again, lather rinse repeat".

mkdir tmp && cd tmp
wget http://www.cpan.org/src/perl-5.10.0.tar.gz
tar fzx perl-5.10.0.tar.gz
cd perl-5.10.0
sh Configure -de -Dprefix=/home/acme/perl_5_10_0 -Duserelocatableinc
make && make test && make install
/home/acme/perl_5_10_0/bin/perl -e 'use feature qw(say); say "hi"'
mv /home/acme/perl_5_10_0 /home/acme/newpath_perl_5_10_0
/home/acme/newpath_perl_5_10_0/bin/perl -e 'use feature qw(say); say "hi"'
# etc.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.