if $var == 2|3 { do stuff } [download]
Where 2|3 is a so-called Junction.
In reply to Re: comparison with bitwise operators by moritz in thread comparison with bitwise operators by alextor