On Nov 19, 2010, at 9:55 AM, Chap Harrison wrote: > On Nov 19, 2010, at 8:03 AM, Brian Fraser wrote: > >> http://www.effectiveperlprogramming.com/blog/750/comment-page-1#comment-78 > > Thanks! Also by brian d foy, I see. And he provides a link ... > > http://www.effectiveperlprogramming.com/blog/92 > > ... to an article of his named "make_links to per-version tools", which > appears to address my conundrum pretty directly. >
So I ended up buying a copy of "Effective Perl Programming, 2nd Ed." by Hall, McAdams, and foy (an excellent book, BTW) and read the item entitled "Compile and Install your own perls." I chose to install 5.12.2 within my home directory (rather than /usr/local as the book did), so that I could install both it and CPAN modules without using sudo, which should give me some protection against inadvertently modifying the system version. I'll put the appropriate directories at the top of my $PATH, so that the 'cpan' command redirects properly to my private version. As to my shebang lines, I'll probably do what Shlomi suggested and use "#!/usr/bin/env perl". One caveat: as is pointed out in the article from EPP that I cited, CPAN is configured on a per-user, not per-version, basis - so it's more difficult maintaining multiple CPANs. This, however, wasn't a problem for me, as I only wanted a single private perl. Thanks for all the helpful feedback. Regards, Chap -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/