Q: How to specify a minimum version of Perl

[email protected] (Ron Savage)
Newsgroups perl.module.build
Message-ID <[email protected]>
Hi Folks

In my Build.PL I have:
 requires =>
 {
	 Carp            => 0,
	 perl            => '5.005_62',
	 XML::Parser     => 0,
	 XML::Records    => 0,
	 XML::TokeParser => 0,
 },
which appears to work, but I only have V 5.10.0 installed.
So the first question is: Is that correct?

Then, in my Makefile.PL I have:
 NAME      => 'DBIx::Admin::BackupRestore',
 PERL      => 5.005_62,
 PL_FILES  => {},
which does not work, since I get this error:

/bin/sh: /home/ron/perl.modules/DBIx-Admin-BackupRestore-1.12/5.00562:
No such file or directory

So the second question is, what's the Makefile.PL equivalent of:
 perl            => '5.005_62',

TIA.
-- 
Ron Savage
[email protected]
http://savage.net.au/index.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.