Correct way to specify minimum Perl version required.

Robin Barker Robin.Barker at
Fri Aug 8 09:57:04 BST 2008

> If I have a distribution that requires, say, Perl 5.6.0, then will it suffice
> to put "use 5.6.0" at the top of my Makefile.PL, or do I need something else
> (in the style of the PREREQ_PM) to tell CPAN testers to stop testing my
> modules on older versions of Perl.

C<use 5.6.0> or C<use 5.006> at the top of Makefile.PL should suffice,
it will show up as a "N/A" test result; e.g.


This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY

More information about the mailing list