[olug] Feb 3 6:30: What's new in Perl?
Jay Hannah
jay at jays.net
Wed Jan 28 17:38:45 CST 2015
Huh, really? Bummer...
Is /usr/bin in your $PATH when you start a fresh shell?
"perlbrew env" seems to show me that it doesn't change $PATH?
➜ jhannah-Air:~ which tar
/usr/bin/tar
➜ jhannah-Air:~ perlbrew list
perl-5.20.1
* perl-5.21.8
➜ jhannah-Air:~ perlbrew env
export PERLBREW_PATH="/Users/jhannah/perl5/perlbrew/bin"
unset PERLBREW_PERL
export PERLBREW_ROOT="/Users/jhannah/perl5/perlbrew"
export PERLBREW_VERSION="0.71"
Ponder,
j
On Jan 28, 2015, at 4:32 PM, Ross Nelson <ross.nelson at gmail.com> wrote:
> 5.18.2, which is shipped with OS X 10.10
>
> I tried to install the latest as shown above, but this happened:
>
> rnelson at boxer ~ $ perlbrew install 5.21.8 && perlbrew switch 5.21.8
> Fetching perl 5.21.8 as
> /Users/rnelson/perl5/perlbrew/dists/perl-5.21.8.tar.bz2
> Download http://www.cpan.org/src/5.0/perl-5.21.8.tar.bz2 to
> /Users/rnelson/perl5/perlbrew/dists/perl-5.21.8.tar.bz2
> sh: tar: command not found
> Failed to extract /Users/rnelson/perl5/perlbrew/dists/perl-5.21.8.tar.bz2
> at /Users/rnelson/perl5/perlbrew/bin/perlbrew line 963.
> rnelson at boxer ~ $ which tar
> -bash: which: command not found
> rnelson at boxer ~ $
>
> It took /usr/bin out of $PATH and then broke when tar (which lives at
> /usr/bin/tar) wasn't found.
More information about the OLUG
mailing list