home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_e0e2ce9a3219c5c572f43cd6e65b6499
< prev
next >
Wrap
Text File
|
2000-03-23
|
2KB
|
80 lines
<HTML>
<HEAD>
<TITLE>showBitCount - count number of "1" bits in string</TITLE>
<LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> showBitCount - count number of "1" bits in string</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#author">AUTHOR</A></LI>
<LI><A HREF="#see also">SEE ALSO</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>String::BitCount, BitCount showBitCount - count number of ``1'' bits in string</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
use String::BitCount;</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<DL>
<DT><STRONG><A NAME="item_BitCount_LIST">BitCount LIST</A></STRONG><BR>
<DD>
Joins the elements of LIST into a single string
and returns the the number of bits in this string.
<P></P>
<DT><STRONG><A NAME="item_showBitCount_LIST">showBitCount LIST</A></STRONG><BR>
<DD>
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.
<P></P></DL>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P>Winfried Koenig <<A HREF="mailto:win@in.rhein-main.de">win@in.rhein-main.de</A>></P>
<P>
<HR>
<H1><A NAME="see also">SEE ALSO</A></H1>
<P><CODE>perl(1)</CODE></P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> showBitCount - count number of "1" bits in string</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>