in reply to Bitwise operators
@ysth, Yeah, should have been the other way round. I am trying to work through this
http://www.perl.org/books/beginning-perl/
and this excercise is at the end of chapter 2, so am not up to loops yet.