summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <mail@lookshe.org>2012-02-06 12:39:54 +0100
committerlookshe <mail@lookshe.org>2012-02-06 12:39:54 +0100
commit55ed20e4813ff6d3ddbcd584e93388ec5a83fefa (patch)
tree92f87548cd61d4ff264964ec0e859ab87952c863
parent3ca035eb933a6623cc2bd64758bb411d034130e1 (diff)
oops & != &&
-rw-r--r--file.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.pl b/file.pl
index 28aa08b..52c76a0 100644
--- a/file.pl
+++ b/file.pl
@@ -68,7 +68,7 @@ if ($found == 0) {
if ($$list[$i] =~ /^.$type.+/i) {
last;
}
- if ($$list[$i] !~ /^.$type$/i & $$list[$i] !~ /^Next matched file extensions?$/) {
+ if ($$list[$i] !~ /^.$type$/i && $$list[$i] !~ /^Next matched file extensions?$/) {
print ".$type is $$list[$i]\n";
$found = 1;
}