Why don't you capture the result of the test in a variable, like so...
if (my $matched = $input{info1} || $input{info2} || $input{info3}) { print "information is valid for $matched." } else { print "none of the conditions were met\n"; }
In reply to Re: a simple question...
by FunkyMonk
in thread a simple question...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |