in reply to 2 versions of perl
You could do one of the following:
For SOMEDIR, I usually use opt.
Edit: Note, I have a symlink in ~/opt/perl pointing to ~/opt/perl-5.10.0.
Note that this isn't really a Perl question per se, but rather just a question about how to tell your shell to find the perl you want it to find.
Edit: Whoops. Re-reading your question more carefully, looks like nefigah's tip is more like what you want. In that case, you're probably looking at doing:
cd ~/bin ln -s ../SOMEDIR/perl-5.10.0/bin/perl perl5.10
This assumes you have your own ~/bin somewhere in your PATH.
|
|---|