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

use Perl Log In

Log In

[ Create a new account ]

barbie (2653)

barbie
  reversethis-{ku. ... m} {ta} {eibrab}
http://barbie.missbarbell.co.uk/

Leader of Birmingham.pm [pm.org] and a CPAN author [cpan.org]. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [yapc-surveys.org] and the QA Hackathon [qa-hackathon.org] 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 ;)

Links:
Memoirs of a Roadie [missbarbell.co.uk]
[pm.org]
CPAN Testers Reports [cpantesters.org]
YAPC Conference Surveys [yapc-surveys.org]
QA Hackathon [qa-hackathon.org]

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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.