I need to make a PPM distribution. I wrote the .pm and created the Makefile when i use nmake to create the PPD i get this error:
makefile(3774) : fatal error U1001: syntax error : illegal character ',' in macro
Stop.

This occurs in pm_to_blib...the SECOND TO LAST LINE!
3771) pm_to_blib: $(TO_INST_PM) 3772) @$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \ 3773) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \ 3774) -e "pm_to_blib(qw[ $(mktmp,pmfiles.dat $(PM_TO_BLIB:s,\,\\,)\ +n) ],'$(INST_LIB)\auto','$(PM_FILTER)')" 3775) @$(TOUCH) $@

Now this section of code is generated by perl when you run makefile.pl (assuming you know what im talking about) So it doesnt even have to do with my .pm file. It is either a bug in the perl compiler or a bug in nmake. YES i have tried eliminating each comma but that doesnt work and YES i even tried using dmake rather than nmake (and i get another error even earlier on in the code so that doesnt even come close)...HELP

Edit by tye


In reply to !!!PPM and PPD perl packages!!! by PotatoesKillMe

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.