But those aren't really bytes, as Perl doesn't have 'bytes' as a native type. Instead, you get strings, each representing a byte.$dataIn[20] = pack "C", $var & 0xFF; $dataIn[21] = pack "C", $var >> 8;
In reply to Re: How to store a bigger number in 1 byte
by Anonymous Monk
in thread How to store a bigger number in 1 byte
by Arbariya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |