It does not matter if your module uses all the dependencies as you (the developer) test because you probably have all of them installed. You probably will not notice missing PREREQ_PM on the developer side.
I got bit with this frequently until I created Test::Prereq which compiles the modules in a distribution, extracts as much dependency information as it can, and compares that with PREREQ_PM. It saved me a ton of hassles.
But then, CPANPLUS is still pretty young, and I had to work around it a bit in Test::Prereq so I didn't get back misleading bug reports from CPAN Testers. I would prefer they not use CPANPLUS until it is more mature, but that's life. Fixing distributions to support a popular but buggy distribution tool definitely sucks.
I did start quoting the module version numbers in PREREQ_PM, though ( "Foo::Bar" => "0.1" ) which seemed to ameliorate the problem for a while, but that was a couple years ago so I forget the details. I haven't bothered to check up on that.
--
brian d foy <bdfoy@cpan.org>
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.