Dear fellow Monks:

I recently submitted my first module to CPAN (and a huge load of thanks to alexbio who first suggested that I do so and then helped me with the somewhat complicated process of becoming a CPAN author.) Yay, fun! - well, mostly. Recently, I've been getting hate mail... I mean, 'FAIL' messages from CPANtesters because my module doesn't work under Windows.

Well, I knew that. Or at least was pretty certain that it wouldn't - my Term::Menu::Hierarchical does a bunch of terminal handling, and that's not anything you'd call system-agnostic. Without having a Windows box to test it on, it was a pretty sure bet that it wouldn't just magically start working on one.

I will admit that I initially forgot to check the OS, and so the first message from CPANtesters was more of a useful reminder than a surprise - great! So I went ahead and fixed it:

# in t/Term-Menu-Hierarchical.t use Test::More tests => 2; BEGIN { use_ok('Term::Menu::Hierarchical') }; # Until I test them, I can't promise anything... ok($^O !~ /^(?:MSWin|VMS|dos|MacOS|os2|epoc|cygwin)/i) or BAIL_OUT("OS unsupported");

...or so I thought. According to the last email I received, CPANtesters still hates me and FAILs me for not working under Windows.

Can someone give me some advice on how to tell them "yes, I know all about it - don't use it under Windows"? Am I doing using Test::More incorrectly? I'm a bit lost as to what to do next.

Much thanks in advance to anyone who can offer good advice (and again, grazie mille cuore to alexbio for getting me started!)

-- 
Education is not the filling of a pail, but the lighting of a fire.
 -- W. B. Yeats

In reply to CPAN newbie troubles by oko1

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.