On Oct 25, 2007, at 12:24 PM, Eric Wilhelm wrote:
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.
Good point.
What is the reason for saying require? If there is one, we need a
begin
block, right?
Yeah. I guess it was require() because we wanted to have a nice
error message even for perl4? That hardly seems like an important
use case anymore though.
-Ken