in reply to New to Perl - Question about using &&

Hello,

I would prefer to use:
if (($condition ne 'SN') && ($condition ne 'SU')) { #Code }
rather than using the bang before your paren. Also, I should note that you don't need to write the "if" part twice. As you can see by my code i use only one if(___) and inside those, bracket off each condition i'm checking.

Cheers,
-Brian

Note: after reading broquaint's post, I too should have linked to perlsyn.