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 }
Short answer: it stops ("short circuits" as AJ points out). You can get a ton more detail here.