summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-03-12 10:57:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-03-12 10:57:32 +0000
commit297502404343c3bce24efb274c8e9d851da7b4c6 (patch)
tree73f8ac3db88476f5bc266b04cde3cabc3ca531af
parentAlter *ify code to support an epoch value in a file instead of the mtime of t... (diff)
downloadelections-297502404343c3bce24efb274c8e9d851da7b4c6.tar.gz
elections-297502404343c3bce24efb274c8e9d851da7b4c6.tar.bz2
elections-297502404343c3bce24efb274c8e9d851da7b4c6.zip
Perl syntax.
-rwxr-xr-xcountify2
-rwxr-xr-xlistify2
-rwxr-xr-xvotify2
3 files changed, 3 insertions, 3 deletions
diff --git a/countify b/countify
index 2de6ba8..a831d4b 100755
--- a/countify
+++ b/countify
@@ -27,7 +27,7 @@ my %opt;
sub grabfile_int {
my $f = shift;
open FILE, "<", $f;
- $i = <FILE>;
+ my $i = <FILE>;
close FILE;
chomp $i;
return $i + 0;
diff --git a/listify b/listify
index 632e444..4bfe965 100755
--- a/listify
+++ b/listify
@@ -27,7 +27,7 @@ my (%opt, %elections);
sub grabfile_int {
my $f = shift;
open FILE, "<", $f;
- $i = <FILE>;
+ my $i = <FILE>;
close FILE;
chomp $i;
return $i + 0;
diff --git a/votify b/votify
index 2e295bc..2ed6926 100755
--- a/votify
+++ b/votify
@@ -27,7 +27,7 @@ my (%opt);
sub grabfile_int {
my $f = shift;
open FILE, "<", $f;
- $i = <FILE>;
+ my $i = <FILE>;
close FILE;
chomp $i;
return $i + 0;