good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Bitwise operators on binary objectsby Anonyrnous Monk (Hermit) |
on Jan 31, 2011 at 09:42 UTC ( [id://885226]=note: print w/replies, xml ) | Need Help?? |
Just to elaborate (as it might not be immediately evident): use the ->Norm() method to count the number bits that are set.
In Section
Seekers of Perl Wisdom
|
|