Make module compatible with perl 5.8.9
[www-offliberty.git] / off
diff --git a/off b/off
index c0f018eb542eca60401dad7ad0d41b872af2859e..c4183c0f4b6d617aec86d2965ffeb0a1cff5b515 100755 (executable)
--- a/off
+++ b/off
@@ -1,13 +1,13 @@
-#!/usr/bin/perl -w
-use v5.14;
+#!/usr/bin/perl
+use 5.008009;
+use strict;
+use warnings;
 
 use Getopt::Long qw/GetOptions/;
 use WWW::Offliberty qw/off/;
 
-my %params;
-$, = "\n";
-GetOptions ('param=s' => \%params);
-say off shift, %params;
+GetOptions ('param=s' => \my %params);
+print "$_\n" for off shift, %params;
 
 __END__
 
This page took 0.009389 seconds and 4 git commands to generate.