When you put a module on CPAN, it searches your distribution
for any "*.pm" files and they are displayed when you search
for any module in your distribution. What if you have a module in the distribution which is only used in the test
suite (the 'make test'), and you'd rather not have them
show up as actual modules for installation?
I'm opting for distributing the
module with a ".pt" extension, then renaming it during the
'make test'. I'm wondering if there's a better way to do it,
or just other options, if there's something I've missed from ExtUtils::MakeMaker
or somewhere else... (The module is Parse::FixedLength if you're curious).
Update: This post is no longer relevant. CPAN no longer seems to list libraries in a sub-directory of the t directory.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|