in reply to Re^2: Unpack Many Fields
in thread Unpack Many Fields

Whaddayaknow! That definitely deserves a mench in perlfunc.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

Replies are listed 'Best First'.
Re^4: Unpack Many Fields
by ikegami (Patriarch) on Feb 16, 2010 at 05:09 UTC

    It does. The first sentence of the following is present since at least 5.6.0:

    A comment in a TEMPLATE starts with # and goes to the end of line. White space may be used to separate pack codes from each other, but modifiers and a repeat count must follow immediately.

    It would be nice if WS and # were mentioned in the table at the top, though.

      So it does. I scrolled up and down both the pack and unpack entires several times before I posted; and again just now and didn't pick it out. I had to use a search to find it--which is far easier once you know what search term to use.

      Seconded on the addition to the table at the top.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.