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.

Reply via email to