[olug] [Omaha.pm] Feb 3 6:30: What's new in Perl?
Jay Hannah
jay at jays.net
Wed Jan 28 17:47:02 CST 2015
Ah, yup. Known issue:
https://rt.cpan.org/Public/Bug/Display.html?id=73476
Bug #73476 for App-perlbrew: does not work with spaces in PATH
Patches welcome, I'm sure. :)
j
> On Jan 28, 2015, at 5:42 PM, Ross Nelson <ross.nelson at gmail.com> wrote:
>
> It's in there unless I source the perlbrew file, at which point it strips it out.
>
> I think I found the problem though. There's a space in one of the paths in there (/Applications/Free PGI.app/bin/…), and __perlbrew_purify() stops at that point.
>
> On Wed, Jan 28, 2015 at 5:38 PM, Jay Hannah <jay at jays.net> wrote:
> 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.
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
> _______________________________________________
> Omaha-pm mailing list
> Omaha-pm at pm.org
> http://mail.pm.org/mailman/listinfo/omaha-pm
More information about the OLUG
mailing list