Subject: | Can perl 5.008 dependency be removed? |
Version: Net-NTP-1.2
Perl: 5.6.x
Net::NTP current version requires perl 5.8 via `use 5.008'.
I have an internal cpan upgrade procedure and I maintain several
perl 5.6.x systems, so I examined the module and can't come up with
a valid reason this distribution requires perl 5.8. Probably 5.6
it's ok, since it uses `warnings'...
The module works perfectly also with 5.6, so I attached a patch that changes `use 5.008' with `use 5.006'.
Thanks for your attention.
diff -u -Naur Net-NTP-1.2/Makefile.PL Net-NTP-1.2-cosimo/Makefile.PL
--- Net-NTP-1.2/Makefile.PL 2004-02-23 17:34:46.000000000 +0100
+++ Net-NTP-1.2-cosimo/Makefile.PL 2005-06-11 13:48:22.000000000 +0200
@@ -1,4 +1,4 @@
-use 5.008;
+use 5.006;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
diff -u -Naur Net-NTP-1.2/NTP.pm Net-NTP-1.2-cosimo/NTP.pm
--- Net-NTP-1.2/NTP.pm 2004-02-23 18:53:47.000000000 +0100
+++ Net-NTP-1.2-cosimo/NTP.pm 2005-06-11 13:48:14.000000000 +0200
@@ -1,7 +1,7 @@
package Net::NTP;
#$Header: /home/cvs/Net-NTP/Net/NTP/NTP.pm,v 1.2 2004/02/23 17:53:47 jim Exp $
-use 5.008;
+use 5.006;
use strict;
use warnings;
use Carp;