For more info on perl's syntax check out the perlsyn manpage.if($condition ne 'SN' && $condition ne 'SU') { ... } # of if you like your regexes if($condition !~ /^S[UN]$/) { ... }
_________
broquaint
In reply to Re: New to Perl - Question about using &&
by broquaint
in thread New to Perl - Question about using &&
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |