Phoenix.pm: quoting constant hash keys survey
Anthony Nemmer
intertwingled at qwest.net
Sat Apr 17 10:12:32 CDT 2004
No, in a case like this, Perl 6 will recursively walk %foo.bar,
concatenate it together into a string and concatenate that to whatever
bar() returns. =)
Tony
eden li wrote:
> I like it, but I don't see why perl can't just adopt the dot like Java
> and C.
>
> %foo.bar -> %foo{'bar'}
>
> I guess could be ambiguously parsed as a string concat operator:
>
> (%foo) . bar()
>
> But I'm wondering if %foo can exist in that context all by itself in
> Perl6. Anyway, either way, I'm all for typing less. Besides,
> gullimets seem to stand out more than they should, especially for
> every hash access in which you don't feel like typing quotes.
>
> Scott Walters wrote:
>
>> Okey, everyone run and vote - yea or nay. Let's hear it. Even if your
>> reasons are unfounded, vote.
>
>
>
>
--
SKYKING, SKYKING, DO NOT ANSWER.
More information about the Phoenix-pm
mailing list