in reply to New to Perl - Question about using &&
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
|
|---|