>Bart Lateur wrote: >> >> Next you'll propose that >> >> print <<EOL; >> blah >> EOL; print "OK!\n"; >> >> should work too, and print "OK!\n" as well. >Why not?! This seems like a good thing. ;, #, or \n are all valid >end-of-lines for here string delimiters. Sounds easy enough, and >consistent. Why not, you ask? Because it's hard to read, that's why! By-themselves terminators stand out nicely, even more so when they're flush left to the margin. If you're going to break that fundamental feature, might as well use regular quotes. --tom
- RFC 111 (v2) Here Docs Terminators (Was Whitespace and... Perl6 RFC Librarian
- Re: RFC 111 (v2) Here Docs Terminators (Was White... Bart Lateur
- Re: RFC 111 (v2) Here Docs Terminators (Was W... Ariel Scolnicov
- Re: RFC 111 (v2) Here Docs Terminators (Was White... Philip Newton
- Re: RFC 111 (v2) Here Docs Terminators (Was White... Eric Roode
- Re: RFC 111 (v2) Here Docs Terminators (Was W... Bart Lateur
- Re: RFC 111 (v2) Here Docs Terminators (W... Nathan Wiger
- Re: RFC 111 (v2) Here Docs Terminator... Bart Lateur
- Re: RFC 111 (v2) Here Docs Terminator... Tom Christiansen
- Re: RFC 111 (v2) Here Docs Terminators (W... Richard Proctor
- Re: RFC 111 (v2) Here Docs Terminator... Tom Christiansen
- Re: RFC 111 (v2) Here Docs Terminators (Was W... Richard Proctor
- Re: RFC 111 (v2) Here Docs Terminators (W... David L. Nicol