changing default perl

Mr. Puneet Kishor punk.kish at gmail.com
Sun Nov 3 10:04:42 PST 2013


This is quite confusing

    09:45:13 [lucknow.att.net] ~$ which perl
    /opt/local/bin/perl
    09:45:31 [lucknow.att.net] ~$ perl -v

    This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
    ..

    09:46:47 [lucknow.att.net] ~$ sudo port install perl5 +perl5_18
    --->  Computing dependencies for perl5
    --->  Cleaning perl5
    --->  Scanning binaries for linking errors: 100.0%
    --->  No broken files found.
    09:47:42 [lucknow.att.net] ~$ perl -v

    This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
    ..

    09:47:53 [lucknow.att.net] ~$ sudo port installed perl5
    The following ports are currently installed:
      perl5 @5.12.4_0+perl5_12 (active)

    09:47:56 [lucknow.att.net] ~$ ls -alF /opt/local/bin/perl
    lrwxr-xr-x  1 root  admin  8 Oct 31 17:46 /opt/local/bin/perl@ -> perl5.12
    09:49:44 [lucknow.att.net] ~$ 

    09:49:44 [lucknow.att.net] ~$ port installed perl5*
    The following ports are currently installed:
      perl5 @5.12.4_0+perl5_12 (active)
      perl5.12 @5.12.4_2 (active)
      perl5.16 @5.16.1_3 (active)
      perl5.18 @5.18.1_0 (active)
    09:53:02 [lucknow.att.net] ~$

Suggestions?




--
Puneet Kishor
Science and Data Policy, Creative Commons



More information about the macports-users mailing list