Perl Monk, Perl Meditation | |
PerlMonks |
Re: I'm looking for the faster way to convert char 2 Bin and Bin 2 char (8bits)by eg (Friar) |
on Jan 26, 2001 at 00:32 UTC ( [id://54349]=note: print w/replies, xml ) | Need Help?? |
If you want a string of 0's and 1's, use pack and unpack with the template "B*" (descending) or "b*" (ascending). Is that what you're looking for?
In Section
Seekers of Perl Wisdom
|
|