Subject: | [patch] Perl 5.004 compatibility |
Hello,
The attached patch allows Tie::Sysctl to be compatible with Perl 5.004.
--
Close the world, txEn eht nepO.
Subject: | Tie-Sysctl-0.05.patch |
--- Sysctl.pm.orig 2003-06-28 19:08:47.000000000 +0200
+++ Sysctl.pm 2006-01-26 10:53:05.393190674 +0100
@@ -1,8 +1,10 @@
package Tie::Sysctl;
+use Tie::Hash;
-use base 'Tie::Hash';
-
-our $VERSION = 0.05;
+{ no strict 'vars';
+ @ISA = 'Tie::Hash';
+ $VERSION = 0.05;
+}
sub TIEHASH {
my $cls = shift;