in reply to Re^4: Unpack unexpectedly trimming trailing spaces
in thread Unpack unexpectedly trimming trailing spaces

... info that's directly relevant ...

Info that's directly relevant to unpack? The unpack docs already seem to have a lot (all?) of that. What did you have in mind? The first sentence in unpack already says "unpack does the reverse of pack ...". There is little discussion of the  TEMPLATE and its specifiers, but then in the fourth paragraph, this: 'The TEMPLATE has the same format as in the "pack" function.'

It might be more newbie-frendly if, in each pack/unpack documentation entry, there were, very close to the beginning, a paragraph to the effect

"pack and unpack are complementary functions; please consult (un)pack and perlpacktut for a full understanding of these functions."
but I'm not sure this would necessarily be much more helpful than what is already there; at some point, one must just carefully RTFM.

Update: Fixed mispeling: complemenetary vice complementary.


Give a man a fish:  <%-{-{-{-<