Most Perl 6 will look like Perl 5

Jonathan Rockway jon at
Tue Jan 29 08:03:27 GMT 2008

"Paul Makepeace" <paulm at> writes:
> When I learnt python, Template Toolkit, Java, (and and..) it took me
> about one second to understand that to deference a hash I could use,
>   hash.key

You're clearly a genius!  Why didn't anyone else think of that?

Oh, I know.  Because hash keys can:

 * be the result of a function evaluation
 * be named the same as methods on the blessed hash (mostly a TT issue)
 * contain spaces
 * contain "."

Also, the Java syntax is:

  some_map.get(key); is a class attribute lookup in Java.

Also, the Python syntax is:


So basically, only TT uses the syntax above, and it's one of TT's
greatest misfeatures.  

Thanks for playing though.

BTW, the time to whine about Perl6 syntax was about 3 years ago, and not
on the list.  If the decisions upset you so much, how about
helping out with Perl6?  How about discussing Perl6 on a Perl6 mailing

Or even, how about writing your own language?  Then it can work exactly
how you want!  It's even in the "Design Patterns" book.  Enterprisey!

Jonathan Rockway

More information about the mailing list