$ cpan Expect YAML

I neglected to mention that I'm on MS Windows (apologies for that) ... and the success of that command relies on the Expect module ... which won't install on MS Windows.

I gave it a go, anyway. My CPAN/Config.pm decrees that:
'cpan_home' => q[C:/.cpan],
so I created the following 'PDL.yml' in the C:/.cpan/prefs directory:
--- match: distribution: "CHM/PDL-" pl: eexpect: mode: anyorder timeout: 15 reuse: 1 talk: - "Do you still wish to continue" - "y\n"
(I didn't exactly pay attention to the whitespace you specified, but I doubt that's having any bearing.)

Sure enough, running cpan Expect YAML fails to install Expect, and cpan get CHM/PDL-2.4.7_004.tar.gz still hangs at the "annoying" prompt.

Please correct me if I'm wrong, but I gather this approach won't work on MS Windows.

Cheers,
Rob

In reply to Re^2: Getting CPAN.pm to accept Makefile.PL prompts by syphilis
in thread Getting CPAN.pm to accept Makefile.PL prompts by syphilis

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.