Re: More problems with 'perlbrew'

[email protected] (James E Keenan)
Newsgroups perl.cpan.workers
Message-ID <[email protected]>
On 5/20/14 9:58 PM, David Golden wrote:
> On Tue, May 20, 2014 at 8:45 PM, James E Keenan<[email protected]>  wrote:
>> So my dilemma is:  If I want my basic unix commands, I have to work with a
>> partially crippled 'perlbrew'.  Does anyone have any insight into this
>> problem?
>
> The hint I see is that it can't find perlbrew, and if your perlbrew is
> installed in ~/perl5/perlbrew/bin/ then that ought to be the fatpacked
> version.
>
> So either you weren't running the fatpacked version or something has
> come unglued and is stomping on your PATH.
>

David, thanks for that diagnosis.

You are correct in that I apparently no longer had the "fatpacked" 
version of perlbrew in ~/perl5/perlbrew/bin.  Running 'ls' there showed 
only 'patchperl'.  In my attempts to correct this problem yesterday, I 
was saying "cpanm App::perlbrew", which apparently wasn't sufficient.

So today I went back to App::perlbrew's CPAN page and issued:

curl -kL http://install.perlbrew.pl | bash

That put "perlbrew" into the directory named.  In my .bashrc I then 
uncommented the "source" line.  I re-sourced ~/.bashrc.  "perlbrew use" 
now switches perl executables in the same shell, without opening a 
sub-shell.  So, so far it appears everything is DWIMming.

Thank you very much.
Jim Keenan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.