Re: [svn:perl6-synopsis] r13567 - doc/trunk/design/syn

2007-02-03 Thread Dr.Ruud
Larry Wall schreef: Dr.Ruud wrote: I would expect %hash.exists{$key} Except $foo.bar{$key} is interpreted as $foo.bar().{$key}. Things like exists and delete need to evaluate the key before calling the method in question, not after. OK. with the shortcut %hash.:{$key} to test

Re: [svn:perl6-synopsis] r13567 - doc/trunk/design/syn

2007-02-02 Thread Larry Wall
On Fri, Feb 02, 2007 at 08:14:53PM +0100, Dr.Ruud wrote: : I would expect : : %hash.exists{$key} : Except $foo.bar{$key} is interpreted as $foo.bar().{$key}. Things like exists and delete need to evaluate the key before calling the method in question, not after. : with the shortcut : :