perl Makefile.PL --bootstrap=~/foo
+If you're using multiple versions of perl via something like
+L<perlbrew>, it might be useful to bootstrap to a specific directory
+for the current version of perl you're running:
+
+ perl Makefile.PL --bootstrap=$HOME/perl5/$(perl -e 'print $]')
+
3. Run this: (local::lib assumes you have make installed on your system)
make test && make install
echo 'eval $(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)' >>~/.bashrc
+If you used the perl-version-specific bootstrap before, you'll need:
+
+ echo "eval $(perl -Mlocal::lib=$HOME/perl5/$(perl -e 'print $]'))" >>~/.bashrc
+
+Make sure you re-eval C<.bashrc> every time you switch perls.
+
After writing your shell configuration file, be sure to re-read it to get the
changed settings into your current shell's environment. Bourne shells use
C<. ~/.bashrc> for this, whereas C shells use C<source ~/.cshrc>.