http://www.perlmonks.org?node_id=1171268


in reply to Re: Equivalent of unpack 'q' with 32-bit Perl (a8)
in thread Equivalent of unpack 'q' with 32-bit Perl

Anonymous Monk,

Get the bits only?

Presumably you mean take the first 8 bytes and then convert them to an integer by extracting the individual bits and then doing base conversion.

If that's not what you mean, please enlighten me. If that is what you mean, I would need to play with it because I don't think the b/B templates would be helpful, I think it would need vec

Cheers - L~R