in reply to Pack()-ing a Message
You don't want the C c pack template specifiers, but rather the B b specifiers. See Exotic Templates in perlpacktut (a very informative tut), the "Bit Strings" sub-section (the very first one).