On Mon, 28 Aug 2000 08:46:25 -0700, Nathan Wiger wrote:
>> OTOH, what about this...
>>
>> print <<EOL
>> blah
>> EOL;
>>
>> which makes this a full blown statement (note the missing semicolon in
>> the first line)...
>
>No it doesn't!
>
>perl -e '
> print <<EOF
> Hello world!
>EOF;
>'
>Can't find string terminator "EOF" anywhere before EOF at -e line 2.
Gee, you already have a working copy of this hypothetical perl6
interpreter? Neat!
Of course it doesn't work now. But if you insist on allowing, say,
another statement on the same line as the end-of-doc marker, than at
least allow the statement terminating semicolon, too.
--
Bart.
- 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
