You change it like this if you want to match everything else use || to satisy atleast one.
You see perlop.
$a = "a"; $b = "b"; $c = "c"; $d = "d"; $e = "e"; if (($a eq "a")&& ($b eq "b")&& ($c="c")&& ($d="d")&& ($e="e")) { print "success"; } else { print "failure"; }
Regards,
Anniyan
In reply to Re: Multiple check in If statement ??
by anniyan
in thread Multiple check in If statement ??
by PonGopi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |