in reply to Install Perl module from CPAN (Apple Mac Service)
G'day usemodperl,
Unfortunately, I see a problem with what you have here. Consider this scenario.
Let's say you're running macOS 10.x which provides Perl 5.x; you follow the steps you show and install a variety of CPAN modules; these are now all available for Perl 5.x code to load. At some later point, you upgrade to macOS 10.y which uses Perl 5.y; Perl 5.x is completely removed along with all modules installed using that version of Perl.
I've been using macOS (formerly Mac OS X) for about eight or nine years; the scenario I've just described seems to have been standard Apple practice for all of that time. I'm away from home (where my Mac is) at the moment so I can't test any this: please correct me if you think some (or even all) of this is wrong.
I continue to recommend leaving the System Perl (/usr/bin/perl) alone on Mac systems and instead use perlbrew and install modules using your preferred cpan utility.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Install Perl module from CPAN (Apple Mac Service)
by usemodperl (Beadle) on Jul 09, 2018 at 18:32 UTC | |
by kcott (Archbishop) on Jul 10, 2018 at 07:33 UTC |