Less makefile more perl? Some food for thought

You know, cpanm takes file paths and urls (even file: urls) ...

Then there are %ENV vars you can set so you're not prompted ... for extra libs ...

PERL_MM_OPT, PERL_MB_OPT, LD_LIBRARY_PATH, Re: perlbrew/cpanm on 64 bit Ubuntu Re: cpanm --sudo installs to /root/perl5 instead of /usr, http://perldoc.perl.org/ExtUtils/MakeMaker.html#LIBS, C_INCLUDE_PATH/LIBRARY_PATH... repeat

cpanm also supports args :) --configure-args, --build-args, --test-args, --install-args

something new to me (that cpanm doesn't do) is distroprefs, see tracking of all distroprefs (needs js) https://github.com/renormalist/cpanpm-distroprefs

http://www.citrusperl.com/helpweb/createdistribution.htm :) its got http://p3rl.org/INSTALL#Relocatable-INC (or is it Portable :)

Look how -Dextras= http://search.cpan.org/dist/perl-5.18.0/INSTALL#Adding_extra_modules_to_the_build makefile magic is written http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=extras

ExtUtils::FakeConfig , Portable, perlrun#PERL5OPT , sitecustomize ...


In reply to Re: Building CPAN modules for new tree by Anonymous Monk
in thread Building CPAN modules for new tree by linxdev

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.