Greetings peeps,

Lately I've been doing lots of work with h2xs and its children to write Perl/C extensions and h2xs has an annoying trait the source of which I can't locate.   h2xs -A -n target creates a skeleton Makefile.PL in the target dirctory and that .PL file contains a basic definition of WriteMakefile(). It initializes the AUTHOR key to:

    AUTHOR => 'my_full_name <perlboy_emeritus@sd.apple.com>') : ()),

Name redacted to protect the guilty :-)

I'm using Perl (v5.18.2) built for darwin-thread-multi-2level running in macOS 10.13.3

My question is: Where does h2xs get that domain, sd.apple.com? That is not my email address and I have configured it nowhere. I've even tried sending email to that address, thinking that somehow Apple configured such an address for me, without informing me. They didn't; the mail bounced. It is annoying to have to change that line every time I create and then edit Makefile.PL.

Any ideas? Thanks in advance.


In reply to AUTHOR default setting in h2xs by perlboy_emeritus

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.