How does the `||` work in Perl?
How does the || works in Perl? I want to achieve c style || operation. @ARRAY=qw(one two THREE four); $i=0; if(($ARRAY[2] ne "three")||($ARRAY[2] ne "THREE")) #What's the problem with this { print ":::::$ARRAY[2]::::::\n"; } while(($ARRAY[$i] ne "three")||($ARRAY[$i] ne "THREE")) #This goes to infinite loop { pri...