I am wholly unable to get CPAN or CPANPLUS to install any local bundles at all. As an example...
I create a bundle TestBundle.pm
package TestBundle $VERSION='0.01'; 1; __END__ =head1 NAME TestBundle - Test Bundle =head1 CONTENTS BSD::Resource

I then move to that directory, and cannot, for the life of me, get that module to load. I really want to load use it with CPANPLUS::Backend, but I can't even get it to work with the suggested command line.
e.g.
perl -I`pwd` -MCPANPLUS -e 'install "TestBundle"' results in [ERROR] No such module 'TestBundle'. Likewise perl -I`pwd` -MCPANPLUS -e 'install "TestBundle"' fails with the equivalent CPAN error.

Since I can't even do this, I certainly can't use CPANPLUS::Backend to get the list of modules in the Bundle to test for pre-requisites, which is my primary goal.

What am I doing wrong? I know I'm missing something pretty obvious, since there aren't any other complaints I can find about this, either on Usenet or on the web.


In reply to Installing Local Bundles with CPANPLUS::Backend? by Anonymous Monk

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.