Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Write 2 uint16_t numbers to file in Perlby AnomalousMonk (Archbishop) |
on Jan 05, 2016 at 18:02 UTC ( [id://1151999]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|