On 2005.1.25, at 05:15 AM, Lola Lee wrote:

Jay said the following on 1/24/05 10:38 AM:


Sounds like the install did exactly what you asked it to: installed
perl 5.8.6 to /usr/local/bin.  when you call 'perl', though, you're
still calling the old version.  Typing 'which perl' will tell you
which binary is actually being called, but it's probably
/usr/bin/perl, which is prbably a soft link to /usr/bin/perl5.8.4.

Turns out that you're correct about this. perl5.8.6 does exist - it's just in another directory.

I like to have two installs of perl. I keep the one the system refers to more or less stock. Update it if there are serious security issues, don't add modules. I guess I may be a little paranoid, but that way I don't have to worry as much about whether modules I add constitute a security risk.


(Perhaps I would not be so paranoid if I were not doing foolish things like hosting my personal site on the family iBook. ;-/ )

Other than /usr/bin/perl, I'm seeing several links, such as perlbug -> /usr/local/cb/perl5.8.4/bin/perlbug. So I'll need to change these links as well. Now . . . what about the CPAN modules? I've got several modules installed - I'll need to reinstall and compile these to work with 5.8.6, right?

From what I've seen on list, the non-binary modules should be okay, binary modules may need to be recompiled or something like that, but within minor version upgrades you might not even need that. If you check the archives, you should find more details in discussions of upgrading from 5.6 to 5.8. (In that case, the binary modules definitely did need to be recompiled.)




Reply via email to