On Mon, Feb 21, 2005 at 07:50:12PM +0800, Autrijus Tang wrote:
: On Mon, Feb 21, 2005 at 09:33:33PM +1100, Damian Conway wrote:
: >     In Perl 6, C<< => >> is a fully-fledged anonymous object constructor --
: >     like C<[...]> and C<{...}>. The objects it constructs are called "pairs"
: >     and they consist of a key (the left operand of the C<< => >>), and a 
: >     value
: 
: By the way, is $pair.keys simply ($pair.key)?

I think so--a pair can always pretend to be a very small hash.

: What is %hash.key?  Type error?

Looks like "no such method" to me.

Larry

Reply via email to