At 05:01 PM 1/26/02 +0000, Simon Cozens wrote:
>A4 said that there were no barewords in Perl 6. Does this mean that
> $foo{bar}
>actually should be written
> %foo{"bar"}
>?
No. That's not a bareword.
>I'm vaguely hoping that the answer is yes, because then we could treat
>*all* instances of {...} as a block returning either a closure, a value
>for subscripting, or an anonymous hash, rather than having to decide at
>tokeniser time.
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com