in reply to pack question

I too was once mystifyed by pack, until I read Confession of a Perl Hacker. If you want to really understand the concept behind pack (painlessly) and how to use it effectively read through that discussion.