blob: 2055ba1db7da00a4f210de89d23993322451a004 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/Votify.pm b/Votify.pm
index 8e0fe1a..d8c7d22 100644
--- a/Votify.pm
+++ b/Votify.pm
@@ -84,9 +84,14 @@ sub get_elections_list {
substr($_, 0, 1) ne ".";
} grep {
my $valid_election_dir = validate_election_dir($_);
+ print "$_ is a valid_election_dir\n" if defined $valid_election_dir;
defined $valid_election_dir;
} readdir D;
closedir D;
+ print "These are the contents of the elections array:\n";
+ foreach (@elections) {
+ print "$_\n";
+ }
return @elections;
}
|