Yes, well, I had a good reason somewhere, I know I did, I just mislaid it.

Actually, I always have to look up whether it's "<<HERE" or <<"HERE". And then there's the balanced delimiter aspect. So I've cornered myself into qq{...}, even though the terminator's not as obvious as HEREDOCs. (Vaguely reminds me of all that in-band/out-of-band signalling discussion.)

Ok, you had me up to here. I'm thinking, "This is a pretty good reminder to think outside of any box you've put yourself into." Then you go off in an undeserved (and off-topic) tangent. I'm curious as to what, precisely, you have to gain by giving such an absurd argument? Are you hoping to denigrate GrandFather's reasonable question, and thus, by extention, denigrate GrandFather for even asking it?

If you think GrandFather is missing the point of your meditation, just say so. Don't belittle him with absurd strawmen as if he had brought those up, too.

Personally, I don't think GrandFather missed the point at all. Even if he had, he was pointing out what he learned from the meditation, which is completely on topic.

Remember: Quality isn't about fixing bugs, it's about preventing them. (Ok, that's a previous meditation of mine) And GrandFather is pointing out how to prevent this bug instead of remembering how to fix it.

Meanwhile, even if you were using HEREDOCs, your point still stands for other common uses of braces - hash refs, eval blocks, anonymous subs, etc., as well as any less common ones, such as the delimiter to the quote operators (q, qq, qw, qx), or other short letter operators (m, s, y or tr).

GrandFather was merely focusing on the one case you presented. Rather than belittle him for it, simply point out the other cases, and I'm betting GrandFather would just nod his head, say, "Oh, okay, good point," and we could continue in a civilised manner. He wasn't telling you your meditation was bad - just asking a legitimate question which deserves a legitimite answer. ("I forget why" counts, as does "I never remember the HEREDOC syntax")


In reply to Re^3: Rules of Thumb, Stereotypes, and other misleading "knowledge" by Tanktalus
in thread Rules of Thumb, Stereotypes, and other misleading "knowledge" by QM

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.