Shapiro, Jonathan: # Well, let's look at a few possibilities: # # 1) if( $vec bit| $mask bit& $mask2 ) # # 2) if( $vec b| $mask b& $mask2 ) # # 3) if( $vec |b $mask &b $mask2 ) # # 4) if( $vec |bit $mask &bit $mask2 )
What's wrong with 'bitand' and 'bitor' (or even 'mask' and 'combine', or something to that effect)? 5) if( $vec bitor $mask bitand $mask ) 6) if( $vec combine $mask mask $mask ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference is that there is no cat. --Albert Einstein (explaining radio)