Every year or two I rebuild my system and each time, I rediscover that installing p5-Palm using the CPAN module is a pain. Each time I search around the web and/or PerlMonks until I stumble across the right invocation. This time... No such luck. There it is, bright as day on the cpan site: http://search.cpan.org/~arensb/p5-Palm-1.3.0, but I can't figure out how to get it to install with the CPAN module.

I could, of course do it by hand the Old Fashioned Way. But now it has become a matter of principle. I know it can be done. I remember there is some trick to it. I tried "Bundle::..." and several other variations, but no joy.

What is the correct CPAN command line to install p5-Palm from the cpan site?

And while we are at it, *why* doesn't it work to just say "install p5-Palm" or "install Bundle::p5-Palm" like I do with every other package?

UPDATE: The following line worked. The install thrashed around for a while but it eventually did find the package and install it.

install http://cpan.org/modules/by-authors/id/A/AR/ARENSB/p5-Palm-1.3.0.tar.gz

There's got to be cleaner way.

UPDATE #2: After examining the "thrashing" output from the previous attempt, I find that either of the following lines work:

install A/AR/ARENSB/p5-Palm-1.3.0.tar.gz
install ARENSB/p5-Palm-1.3.0.tar.gz

But my question remains: Why does this package require a special installation procedure under the CPAN module?

------------------------------------------------------------
"Perl is a mess and that's good because the
problem space is also a mess.
" - Larry Wall


In reply to Installing p5-Palm using CPAN by dvergin

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.