The perl5 directory got created from perlbrew. It was not there before. The system of course has a perl installed. OSX comes with perl - but I didn't do anything with it. I have another machine where I tried the same and it shows the same result. So either I'm systematically doing something wrong, or something with perlbrew is not right.

I'm using zsh, but I source the bashrc generated from perlbrew. I can see in the changelog that there was a fix in the last perlbrew version in regards of perlbrew. So I also tried it with changing my shell to bash first. Same result.

However I changed the shell by just launching bash from my zsh - I think the environment is taken over in this case.

I've now reconfigured my system to use /bin/bash via chsh. Then I've opened a new terminal, sourced the perlbrew bashrc.... and guess what:

IT WORKS!!!

So the issue was either shell or environment related. I found out that new environment has only PERLBREW_* variables set. No other perl variables. I'll check on my other machine if it works in zsh if I correct this. I'll let you know.

Thank you very much for your effort!
- sdk


In reply to Re^4: MacOSX: perlbrew + cpanm, dependency check broken? by sdkdev
in thread MacOSX: perlbrew + cpanm, dependency check broken? [SOLVED] by sdkdev

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.