http://www.perlmonks.org?node_id=155823


in reply to 'or' vs '', '&&' vs 'and'

i was taught to use "or" and "and" instead of || and && and was never told why. Later on i discovered what the rest of the monks have already stated. With "or" and "and" you have the advantage of including or not including parentheses whereas with "||" and "&&" they must be included.