The files don't have to be in YAML format, as it will also work with files containing plain ol' perl data structures. If both are available, it prefers the YAML version if a YAML-ish module is available with which to parse it. eg, on my CPAN-testing smokers I have ...

$ cat IPC-Run.yml --- comment: "Ignore (ADAMK|TODDR)/IPC-Run-0* on netbsd/alpha, cos it brea +ks" match: distribution: "(ADAMK|TODDR)/IPC-Run-0" perlconfig: archname: "alpha-netbsd" disabled: 1 $ cat IPC-Run.yml.dd $VAR1 = { 'disabled' => '1', 'comment' => 'Ignore (ADAMK|TODDR)/IPC-Run-0* on netbsd/alpha, cos i +t breaks', 'match' ...

The .dd file is auto-generated from the .yml file by this script:

#!/bin/sh for i in *yml; do if [[ ! -s $i.dd || $i -nt $i.dd ]]; then echo Rebuilding $i perl -MYAML=LoadFile -MData::Dumper -e "print Dumper(LoadFile('$ +i'))">$i.dd fi done

The file extensions .yml and .dd are significant.


In reply to Re^4: Getting CPAN.pm to accept Makefile.PL prompts by DrHyde
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.