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 /listify
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 'listify')
-rwxr-xr-xlistify2
1 files changed, 1 insertions, 1 deletions
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;