Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by jdavidb (1361) on 2008.01.07 14:43 (#60036) Homepage Journal

    I've been saying that Makefile.PL shouldn't take user input forever, but very intelligent and experienced module authors have been telling me I am wrong, or that they like the freedom.

    I do want to be able to have multiple independent installations of both Perl and external libraries. I do want some way to tell my CPAN shell where those external libraries, so that the CPAN shell can tell Makefile.PL (or whatever). I do not want to have to pass parameters to Makefile.PL. I do not want Makefile.PL to autodetect things in a way that trounces my attempt to communicate where those libraries are. And I emphatically do not want installation to pause and expect me to type an answer.

    So it sounds like there's the makings of a solution there: have an external libraries registry available to CPAN.pm and allow Makefile.PL to query that registry. I'll tell /usr/local/perl/5.10.0 that I want to use the freeTDS located in /usr/local/perl/5.10.0/lib, I'll tell /home/me/perl/smoke/5.10.0 that I want to use the freeTDS located in /usr/lib, and I'll tell /app/weirddaemon/perl/5.6.1 that I want to use the freeTDS located in /var/extra/space/freeTDS.

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers