in reply to Re^3: ExtUtils::MakeMaker, APR::UUID or Perl problem?
in thread ExtUtils::MakeMaker, APR::UUID or Perl problem?

Even stranger. If I save a copy of that APR.pm into the dists lib and do perl -Ilib Makefile.PL, I still get a 0 byte Makefile. Now, if I add this to that APR.pm:

BEGIN {warn 'using custom APR'};

and rerun perl -Ilib Makefile.PL, I get the correct full Makefile. Removing that BEIGN statement make the Makefile 0 bytes again.

If I comment out the line:

# sub dl_load_flags { DL_GLOBAL }

I still get an empty Makefile. There be demons in there.