in reply to A more elegant use of unpack

After looking at the docs again the 'a's should be 'A's.
a A string with arbitrary binary data, will be null padded. A A text (ASCII) string, will be space padded.
See also: perlpacktut in the docs.
Update: Added reference to tutorial.