aboutsummaryrefslogtreecommitdiff
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 /countify
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.
Diffstat (limited to 'countify')
-rwxr-xr-xcountify2
1 files changed, 1 insertions, 1 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;