How can I control the Perl version I want?

Rodolfo Aramayo raramayo at gmail.com
Thu Jan 5 10:24:01 PST 2012


On a brand new system (10.6.8) I performed a fresh installation of MacPorts

I then installed the port:
perl5.14 @5.14.1_2

I then requested other ports to be installed and some of them obviously had
Perl dependencies and installed other versions of Perl

After this was all and done I have the following Perl ports installed on my
system:
==
The following ports are currently installed:
  perl5 @5.12.3_1+perl5_12 (active)
  perl5.12 @5.12.3_3 (active)
  perl5.14 @5.14.1_2 (active)
==
But, when I request:
==
$> which perl
/opt/local/bin/perl
==
and
==
$> perl --version

This is perl 5, version 12, subversion 3 (v5.12.3) built for
darwin-multi-2level

Copyright 1987-2010, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
==
I get perl version 5.12

Thanks

--R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120105/77dc35d0/attachment.html>


More information about the macports-users mailing list