Subject: | Use of "//" operator |
Date: | Wed, 9 Jul 2014 13:11:44 -0700 |
To: | "bug-Net-CIDR-Lookup [...] rt.cpan.org" <bug-Net-CIDR-Lookup [...] rt.cpan.org> |
From: | "Christopher K. Brown" <ckb [...] xerocole.com> |
Greetings! I found that this module uses the "//" operator as an "or" which gives it a dependency on the version of perl 5 that can run it. For example, perl 5.10 does not know what "//" is, but 5.18 does. I do not believe CPAN is enforcing this dependency.
Maybe the easiest thing to do is to replace the "//" with "||" in the script? The proper "requires" would also do it.
It's possible CPAN is broken by allowing me to install this module on my 5.10 distribution...if so I apologize for the intrusion. :-)
Thanks!