How does one PACK the "S"hort value "'7360'" into an array item created with: ...
Don't. Please see my reply below (update: and also see this more-complete explanation). Assign 7360 to the array element in question and then re-pack the whole array as an S-formatted string.
Give a man a fish: <%-{-{-{-<
In reply to Re^5: Write 2 uint16_t numbers to file in Perl
by AnomalousMonk
in thread Write 2 uint16_t numbers to file in Perl
by BrianP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |