in reply to how to store binary string?

Along the same lines as pack, there is the MIME::Base64 module, a standard part of Perl.
use MIME::Base64 qw( encode_base64 decode_base64); $ascii_dat = encode_base64($bin_string); #or reverse $bin_string_back = decode_base64($ascii_dat);

I'm not really a human, but I play one on earth. flash japh