On Sun, Apr 23, 2006 at 11:01:17AM +0200, Marcus Holland-Moritz wrote: > The only thing worth mentioning is that with perl 5.003, > the following happens: > > [EMAIL PROTECTED] $ perl5.003 Makefile.PL > Can't locate ExtUtils/Command.pm in @INC at Makefile.PL line 4. > BEGIN failed--compilation aborted at Makefile.PL line 4.
Yes, run-time "require VERSION" is almost always the wrong thing to do. > I'd suggest the following change: > > --- Makefile.PL.orig 2006-04-23 10:58:31.000000000 +0200 > +++ Makefile.PL 2006-04-23 10:58:50.000000000 +0200 > @@ -1,4 +1,4 @@ > -require 5.004_05; > +BEGIN { require 5.004_05 } "use 5.004_05;" would be better.