Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-29 Thread David L. Nicol
the semicolon after the hereis terminator thing might only work if the beginning of the hereis was the last thing on the line it appears on, that way there's no ambiguity $Goodone = < > I like it... I think I will add this to the next version. > > Richard > > -- > > [EMAIL PROTECTE

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Tom Christiansen
>> Next you'll propose that >> >> print <> blah >> EOL; print "OK!\n"; >> >> should work too, and print "OK!\n" as well. >> >Yes why not, though it might be bad style. Because it gains you nothing, and loses much. --tom

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Richard Proctor
On Mon 28 Aug, Bart Lateur wrote: > On Mon, 28 Aug 2000 10:38:42 -0400 (EDT), Eric Roode wrote: > > >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;

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Richard Proctor
On Mon 28 Aug, Eric Roode wrote: > Richard Proctor proposed: > > > > All of these should work: > > > > print < >EOL > > print << EOL; > > EOL > > print < >EOL # this is the end of the here doc > > People may throw rocks at me for this, but I'd like to suggest that

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Tom Christiansen
>Bart Lateur wrote: >> >> Next you'll propose that >> >> print <> 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

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Bart Lateur
On Mon, 28 Aug 2000 08:46:25 -0700, Nathan Wiger wrote: >> OTOH, what about this... >> >> print <> blah >> EOL; >> >> which makes this a full blown statement (note the missing semicolon in >> the first line)... > >No it doesn't! > >perl -e ' > print < Hello world! >E

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Nathan Wiger
Bart Lateur wrote: > > Next you'll propose that > > print < 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 consi

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Bart Lateur
On Mon, 28 Aug 2000 10:38:42 -0400 (EDT), Eric Roode wrote: >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

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Eric Roode
Richard Proctor proposed: > > All of these should work: > > print print << EOL; > EOL > print

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Ariel Scolnicov
Bart Lateur <[EMAIL PROTECTED]> writes: > On 27 Aug 2000 19:23:51 -, Perl6 RFC Librarian wrote: > > >Further it should ignore any whitespace (and comments) that follow the > >terminator. > > > All of these should work: > > > print < >EOL # this is the end of the here doc > >

Re: RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-28 Thread Bart Lateur
On 27 Aug 2000 19:23:51 -, Perl6 RFC Librarian wrote: >Further it should ignore any whitespace (and comments) that follow the >terminator. > All of these should work: > print

RFC 111 (v2) Here Docs Terminators (Was Whitespace and Here Docs)

2000-08-27 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Here Docs Terminators (Was Whitespace and Here Docs) =head1 VERSION Maintainer: Richard Proctor <[EMAIL PROTECTED]> Date: 16 Aug 2000 Last Modified: 27 Aug 2000 Mailing List