For instance, I need to match some text if $do eq \'b\'. If I run this code:
$do eq \'b\'
if (($do eq \'b\') && (/text/)) { do stuff }
No, right part of condition is not evaluated when left part is false,
false
if ($do eq 'b' && /text/) { do stuff }