I need pack examples for the Camel
I'm working on the pack section in Programming Perl and learning about all the templates things that I've never used.
Does anyone have examples (or know where some are) that use:
- @ with a repeat count
- . with a repeat count
- ( with a repeat count
Also, which modules make extensive use of pack? I used to in my Mac::iTunes (now outdated) module, but I was going very rudimentary things that I now see I could have done much better with other pack features.
Google Code Search for "pack(" turns up a lot of everyone's favorite CGI parameter undo-er, many Perl/Tk things, and lots of simple templates for pack. I want to see the really knarly and mind bending ones. Send me a good one that we put in the book, and I'll send you the book for free.