Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

barbie (2653)

  reversethis-{ku. ... m} {ta} {eibrab}

Leader of [] and a CPAN author []. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [] and the QA Hackathon [] websites. Also the current caretaker for the CPAN Testers websites and data stores.

If you really want to find out more, buy me a Guinness ;)

Memoirs of a Roadie []
CPAN Testers Reports []
YAPC Conference Surveys []
QA Hackathon []

Journal of barbie (2653)

Friday January 09, 2004
07:38 AM

perl Makefile.PL side effect

[ #16734 ]
In typing 'perl Makefile.PL' on the command line recently, I discovered a side effect. Aside from the Makefile.PL in the current directory, it will attempt to run all the other Makefile.PLs in any sub-directories. This wasn't expected, nor wanted. The problem with this is that at the top level I have a Makefile.PL that bundles all scripts/images/templates/etc and tests the whole shebang. Under other directories I have other Makefile.PLs that build a subset of the whole. However, two of them don't run in the directory they are stored in and as such the side effect of running 'perl Makefile.PL' fails from the top level.

This shouldn't have been unexpected as it's documented in the Description block of ExtUtils::MakeMaker, but then I'd never noticed that before. It took a bit of reading but what I was after was....

WriteMakefile( 'NORECURS' => 1, ... );

That's better :)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.