Sounds like you’re looking for logical AND, which is && (or its lower-precedence version and):
if ($host =~ /mac/ && $browser eq 'iexplore') { ...
Hope that helps,
Athanasius <°(((>< contra mundum
In reply to Re: Help with IF statement for 2 matching conditions.
by Athanasius
in thread Help with IF statement for 2 matching conditions.
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |