I seem to be unable to install most CPAN modules any more. I'm running Strawberry Perl 5.10.0 for MSWin32-x86-multi-thread. Output from an example follows:
Running install for module 'Parse::RecDescent' Running Build for D/DC/DCONWAY/Parse-RecDescent-1.964.tar.gz Prepending C:\strawberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/ar +ch C:\stra wberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/lib to PERL5LIB for +'get' Has already been unwrapped into directory C:\strawberry\cpan\build\P +arse-RecDescent-1.964-zT6n4e Prepending C:\strawberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/ar +ch C:\strawberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/lib to PE +RL5LIB for 'make' Has already been made Prepending C:\strawberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/ar +ch C:\strawberry\cpan\build\Module-Build-0.3603-YRU8ly/blib/lib to PE +RL5LIB for 'test' Running Build test t\00.load.t ............... 1/1 # Testing Parse::RecDescent 1.964 t\00.load.t ............... ok t\basics.t ................ ok t\leftop_cap.t ............ ok t\pod.t ................... Can't open perl script "w": No such file o +r directory t\pod.t ................... Dubious, test returned 2 (wstat 512, 0x200 +) No subtests run t\re_capture_return.t ..... ok t\separated_repetition.t .. ok Test Summary Report ------------------- t\pod.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=6, Tests=28, 1 wallclock secs ( 0.01 usr + 0.08 sys = 0.09 CP +U) Result: FAIL Failed 1/6 test programs. 0/28 subtests failed. DCONWAY/Parse-RecDescent-1.964.tar.gz c:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports DCONWAY/Parse-RecDescent-1.964.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: DCONWAY/Parse-RecDescent-1.964.tar.gz : make_test NO
The jobs always fail in the same way:
t\pod.t ................... Can't open perl script "w": No such file o +r director y t\pod.t ................... Dubious, test returned 2 (wstat 512, 0x200 +)
I dont understand why perl script "w" is being executed? I'm sure the problem is something to do with Test::Pod - but how to fix? I'm having similar problems with almost every new module I try to install.

In reply to CPAN install problems by phew

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.