summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.pl b/file.pl
index 9d33969..da177c5 100644
--- a/file.pl
+++ b/file.pl
@@ -64,7 +64,8 @@ if ($found == 0) {
}
}
if ($morethanone =~/1/) {
- for ($i = 3; $i <= $#$list; $i++) {
+ for ($i = 2; $i <= $#$list; $i++) {
+#print "$$list[$i]\n";
if ($$list[$i] =~ /^.file extension $type$/i) {
if ($found == 3) {
print "for more see $wikiurl\n";