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


in reply to Binary Math?

Uh, are you looking for the binary operators  | & ^ defined in perlop?