I am working on a Net :: Prober distribution using dzil . From the next version, I would like to provide a minimum requirement for perl 5.10 + (it was 5.006), because I use named capture :-)
Now I put use 5.010;
to the beginning of my main module, and thatβs fine, but I was wondering: is there a way to specify the minimum version of the perl interpreter in the dist.ini
file ?
My current dist.ini
:
name = Net-Prober version = 0.07 ... [Prereqs] Carp = 0 Data::Dumper = 0 Digest::MD5 = 0 IO::Socket::INET = 0 IO::Socket::SSL = 0 IO::Socket::UNIX = 0 LWPx::ParanoidAgent = 0 Net::Ping = 2.34 Sys::Syslog = 0 [Prereqs / TestRequires] Test::More = 0 LWP::Online = 0 ...
Is it possible to add perl = 5.010
to the [Prereq]
block?
source share