From 55ed20e4813ff6d3ddbcd584e93388ec5a83fefa Mon Sep 17 00:00:00 2001 From: lookshe Date: Mon, 6 Feb 2012 12:39:54 +0100 Subject: oops & != && --- file.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3