Actually, I'm sending it through pack and then printing it to STDOUT and then piping the result to od. (Didn't think to use ord. Oh well, lots to learn.)
In any case, 16 bytes of data are produced by pack (pack( "B128", $bits ) and all come back fine except any byte with the 8th bit set.
I haven't got the version number in front of me, but it is an older version of Perl running on Red Hat. Maybe that's the problem.
In reply to Re^2: Help with pack error
by taack
in thread Help with pack error
by taack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |