# from [EMAIL PROTECTED]
# on Thursday 25 October 2007 10:18:

>+use 5.005_04;
>+
> use lib qw(lib);
> use Module::Build::Compat;

The autogenerated Makefile.PL from Module::Build::Compat has

    print {$fh} "require $minimum_perl;\n";

But this will not execute until after any 'use' statements in the 
Makefile.PL, which yields a messier error if anything use()d requires a 
perl version.

What is the reason for saying require?  If there is one, we need a begin 
block, right?

--Eric
-- 
Turns out the optimal technique is to put it in reverse and gun it.
--Steven Squyres (on challenges in interplanetary robot navigation)
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to