Robert Rothenberg <[EMAIL PROTECTED]> writes:

> On 17/12/07 20:45 [EMAIL PROTECTED] wrote:
> > This distribution has been tested as part of the cpan-testers
> > effort to test as many new uploads to CPAN as possible.  See
> > http://testers.cpan.org/
> > 
> > Please cc any replies to [email protected] to keep other
> > test volunteers informed and to prevent any duplicate effort.
> > 
> > --
> > Dear Robert Rothenberg,
> >     
> > This is a computer-generated report for Graphics-ColorNames-2.04
> > on perl-5.00505, created automatically by CPAN-Reporter-1.0601 
> > and sent to the CPAN Testers mailing list.  
> 
> It requires 5.6.0.
> 
> Unfortunately when Module::Build creates the Makefile, it doesn't add the
> requires line for the appropriate perl version.

I think this can be regarded as a Module::Build bug.

> 
> However, it is in the module file, second line:
> 
>   package Graphics::ColorNames;
>   require 5.006;
> 
> So it should have failed earlier, no?
> 

I guess "our" is a syntax error for 5.005 and therefore fails during
compiletime. "require x.yyy" is a runtime check and would fail later.
I think you can safely write "use 5.006;" instead of "require 5.006;"
to force a compiletime version check.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tknotes - A knotes clone, written in Perl/Tk.
    http://ptktools.sourceforge.net/#tknotes

Reply via email to