in reply to Re^2: HEREDOC weirdness
in thread HEREDOC weirdness

You're welcome! *tips hat*

BTW, allow me to also suggest that you make it a habit to use warnings - this would've provided a valuable clue here:

Missing argument in printf at 1099478.pl line 7. Missing argument in printf at 1099478.pl line 7. Invalid conversion in printf: "%S" at 1099478.pl line 7. Missing argument in printf at 1099478.pl line 7. Invalid conversion in printf: "%A" at 1099478.pl line 7.

Replies are listed 'Best First'.
Re^4: HEREDOC weirdness
by AnomalousMonk (Archbishop) on Sep 04, 2014 at 01:21 UTC
    ... use warnings ... would've provided a valuable clue ...

    Indeed, five valuable clues!

      Among our warnings are such valuable clues as "Missing argument in printf", and "Invalid conversion in printf", and ruthless efficiency... and an almost fanatical dedication to the Pope...

      ...I'll come in again.

        use warnings is listed in How do I post a question effectively?, but many don't seem to notice.

        Apparently we need to hack a web page with an interactive help center dialog :)

        • did you use warnings
          • o yes
          • o no
        -->
        • did you use strict?
          • o yes
          • o no
        -->
        • did you dump your input/output data?
          • o yes
          • o no
        --> and so on

        Cheers Rolf

        (addicted to the Perl Programming Language and ☆☆☆☆ :)

        To be technically correct (the best kind of correct):

        #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.