in reply to Re^2: Why is the size even bigger after pack?
in thread Why is the size even bigger after pack?
What did you think it would do?
pack turns a list of values into a string according to a specific format. If you want to interact with something else which expects values in a specific format (a system call, a foreign function, a binary protocol), pack is your tool. If you want to use less memory, you need something else.
Improve your skills with Modern Perl: the free book.
|
|---|