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

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.

Replies are listed 'Best First'.
Re^6: HEREDOC weirdness
by LanX (Saint) on Sep 04, 2014 at 10:07 UTC
    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 ☆☆☆☆ :)

Re^6: HEREDOC weirdness
by kennethk (Abbot) on Sep 04, 2014 at 14:58 UTC
    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.

      Touché. An almost fanatical devotion to the Benevolent Dictator for Life, then!

      (Funny, though. I actually had vroom there first, given that he's the Monastery's founder, but then I thought that we're Perlmonks, not Perlmonksmonks (which would create an interesting conundrum as far as the site's name is concerned, anyway; technically it'd then have to be called "Perl(monks){ω}" for the name to be correct) and that Larry was therefore the more appropriate choice.)

        Larry is the Deity here, not the head of the Monastery/Church. Deities sometimes walk the Earth under a different name (Tim Toady in this case).
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ