showBitCount - count number of "1" bits in string
|
String::BitCount, BitCount showBitCount - count number of ``1'' bits in string
This module is not included with the standard ActivePerl distribution. It is available as a separate download using PPM.
use String::BitCount;
- BitCount LIST
-
Joins the elements of LIST into a single string
and returns the the number of bits in this string.
- showBitCount LIST
-
Copies the elements of LIST to a new list and converts
the new elements to strings of digits showing the number
of set bits in the original byte. In array context returns
the new list. In scalar context joins the elements of the
new list into a single string and returns the string.
Winfried Koenig <win@in.rhein-main.de>
perl(1)
showBitCount - count number of "1" bits in string
|