in reply to Re^4: That damn "strict"
in thread That damn "strict"

i wondered very intensely why that doesn't cause a syntax error, but then i came to my senses and stopped really caring
Good thing, otherwise you might have ended up reading the known-to-make-the-strong-weep http://perldoc.perl.org/perlop.html#Gory-details-of-parsing-quoted-constructs.

(Actually, it's not that bad. {} delimit the string, with internal pairs of {} being ignored.)

Replies are listed 'Best First'.
Re^6: That damn "strict"
by tilly (Archbishop) on Jan 10, 2006 at 18:35 UTC
    That shouldn't make the strong weep. Reserve that for figuring out things like qq}$foo{bar\}}. Or somewhat more sanely, something like this: qq{let's have an unbalanced \{ here.}

    But that does bring up an important note. If you know that you'll want a quote with, say, unbalanced parens, then use a different balanced delimiter. For instance () above. (For me this mostly comes up with my having to use {} when I want unbalanced parens.)