in reply to Building CPAN modules for new tree

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 ...

Replies are listed 'Best First'.
Re^2: Building CPAN modules for new tree
by taint (Chaplain) on May 27, 2014 at 23:09 UTC
    Borderline information-overload.

    But rather enlightening. Who knew there were so many possibilities.
    What with the CPAN, it's no wonder, so many people choose Perl, over other languages. :)

    --Chris

    ¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH