On Sun, 7 Feb 2010 23:25:56 -0800 cr...@animalhead.com wrote: > Q2: What's the easiest way to communicate something from > the Build.PL code to test code?
I'm not sure about test, but I have an ExtUtils:: module that needs to invoke the C compiler again. If Module::Build is in effect, I use its. The first step here is to obtain the existing M::B configuration: if( my $mb = eval { require Module::Build and Module::Build->current } ) { ... use $mb here... } The principle would be the same for test code, but I'd be given to wonder in your case what you're doing with it... -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/
signature.asc
Description: PGP signature