Richard Proctor proposed: > > All of these should work: > > print <<EOL; >EOL > print << EOL; > EOL > print <<EOL ; >EOL # this is the end of the here doc People may throw rocks at me for this, but I'd like to suggest that not only is a comment allowed on the terminator line, but a semicolon also be allowed. Vis: print <<EOL; EOL; # This should work, too Yes, I know that it can be done as: print <<"EOL;"; EOL; but (imho) the prior example has high DWIM value, and is keeping with the spirit of the RFC. Just my two cents. ---------------------------------------------------------------------- Eric J. Roode, [EMAIL PROTECTED] print scalar reverse sort Senior Software Engineer 'tona ', 'reh', 'ekca', 'lre', Myxa Corporation '.r', 'h ', 'uj', 'p ', 'ts';
- 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