about summary refs log tree commit
path: root/lib/Net/Cmd.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/Cmd.pm')
-rw-r--r--lib/Net/Cmd.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Net/Cmd.pm b/lib/Net/Cmd.pm
index 06191d7..48aea55 100644
--- a/lib/Net/Cmd.pm
+++ b/lib/Net/Cmd.pm
@@ -7,11 +7,12 @@
 package Net::Cmd;
 
 use 5.008001;
-require Exporter;
 
 use strict;
-use vars qw(@ISA @EXPORT $VERSION);
+use warnings;
+
 use Carp;
+use Exporter;
 use Symbol 'gensym';
 
 BEGIN {
@@ -37,9 +38,9 @@ BEGIN {
   }
 }
 
-$VERSION = "2.31";
-@ISA     = qw(Exporter);
-@EXPORT  = qw(CMD_INFO CMD_OK CMD_MORE CMD_REJECT CMD_ERROR CMD_PENDING);
+our $VERSION = "2.31";
+our @ISA     = qw(Exporter);
+our @EXPORT  = qw(CMD_INFO CMD_OK CMD_MORE CMD_REJECT CMD_ERROR CMD_PENDING);
 
 
 sub CMD_INFO    {1}