Unless you show us (a hexdump of) your input data, it will be hard to give you meaningful advice.
I haven't had to deal with BINARY type numbers, but I would assume that they are basically just bytes and don't need any special treatment at all? ord should be enough to convert from a byte to the number?
In reply to Re: Perl Unpack Cobol Binary File and Fields
by Corion
in thread Perl Unpack Cobol Binary File and Fields
by dbarkho14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |