|laziness, impatience, and hubris|
Binary data type?by KPeter0314 (Deacon)
|on Oct 16, 2002 at 17:43 UTC||Need Help??|
KPeter0314 has asked for the wisdom of the Perl Monks concerning the following question:
As I am just a lowly monk, I come to the greater wisdom of the group.
I have a set of values that I would like to possibly store in a binary-style array. The data looks something like this:
Is there a way to store the values binary-style? That way the values for A, B, and C would be 11000000, 00110011, and 00001100 respectfully.
I would also need a method to mask the info back out of the binary storage to get my results back. e.g. (in bad pseudo-code)
Or, am I trying too hard?