How do I upgrade my MacPorts Perl installation?

Posted by sfactor on Stack Overflow See other posts from Stack Overflow or by sfactor
Published on 2010-10-15T13:11:28Z Indexed on 2011/01/18 3:53 UTC
Read the original article Hit count: 380

Filed under:
|
|
|

I have installed MacPorts in my MacBook Pro with Snow Leopard. I hadn't explicitly installed perl there but I guess it either came installed with the default macports install or was installed as a dependency by any other port I installed.

I want to upgrade the Perl v5.8.9 there with the latest stable Perl version. Whichever it may be currently (I see it is 5.12.2). So, my question is simply how do I do a complete replacement of the old Perl with the new in macports.

Will sudo port upgrade perl5 work or do I need to do something else as well. I just wanted to make sure this was the right command so as to avoid screwing up my macports install.

© Stack Overflow or respective owner

Related posts about perl

Related posts about applet