about summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--Net/Cmd.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Net/Cmd.pm b/Net/Cmd.pm
index 355b6c9..a742860 100644
--- a/Net/Cmd.pm
+++ b/Net/Cmd.pm
@@ -22,9 +22,9 @@ BEGIN {
   }
 }
 
-my $doUTF8 = eval { require utf8 };
+my $doUTF8 = ($] > 5.008) && eval { require utf8 };
 
-$VERSION = "2.28";
+$VERSION = "2.29";
 @ISA     = qw(Exporter);
 @EXPORT  = qw(CMD_INFO CMD_OK CMD_MORE CMD_REJECT CMD_ERROR CMD_PENDING);