I'm sorry, I don't know how I can help you. I just installed cpanm 1.7044 as a Devuan package (Debian derived Linux) and it installs pl fine with -l /some/dir. (It does create various useless x86_64-linux-gnu-thread-multi subdirs, but that may be their problem and only cosmetic.) I can however confirm that reinstalling does overwrite the script – annoying but again not the end of the world.

Maybe you can find a similarly minimal package as pl is, for you and me to compare? Cpanm is quite the opposite, having so many dependencies.

Or you could open an issue against cpanm, saying that it works on Linux, but not Mac. If you add the output you get from cpanm -v App::pl, they'll probably know right away what's wrong. Or they might have access to a Mac, to find out…


In reply to Re^5: pl – Perl One-Liner Magic Wand: looking for feedback by Daniel Pfeiffer
in thread pl – Perl One-Liner Magic Wand: looking for feedback by Daniel Pfeiffer

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.