Just for anyone interested ::

Whilst looking at the modules some others suggested for helping 
find the bits/bytes of a string I ran across this simple, built 
in (I think - b module ??) way to find how many bits a string is:

my $bit_count = unpack("%32b*",$string);

I think it works pretty well because the place I'm trying to 
use the number of bits in a calculation now gives proper results 
that match a similar program that does what I'm trying to do.

Thanks for the pointers everyone!

DMuey

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to