in reply to Re^3: Perl version issue?
in thread Perl version issue?

Thanks. I ran the commands above to install the latest stable version of perl and now 'perl -v' shows:

$ perl -v This is perl 5, version 20, subversion 1 (v5.20.1) built for darwin-2l +evel

However, when I still see the following when I attempt to use t-prot with mutt to view a message:

'Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /Library/Perl/5.12 /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/bin/t-prot line 1147.

Looks as though it's still looking at perl version 5.18.

Replies are listed 'Best First'.
Re^5: Perl version issue?
by Corion (Patriarch) on Oct 27, 2014 at 12:12 UTC

    The Perl you run does not seem to be the Perl you want.

    You need to find out which Perl version t-prot invokes, and how. A most likely candidate is to look at the first line of t-prot. If it starts with something like #!/System/bin/perl (or whatever OSX uses as path names), you could try to change that to point to the Perl you want to use. I recommend making a backup first.