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
>>
>> %has
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
:
:
[EMAIL PROTECTED] schreef:
> Just glad someone's reading these things...
Of course we are. But it is hard to react when the syntax isn't in your
muscle memory yet.
>From r13565:
> +%hash.:exists{$key}
I would expect
%hash.exists{$key}
with the shortcut
%hash.:{$key}
to test (at ru
Author: larry
Date: Fri Feb 2 09:07:05 2007
New Revision: 13567
Modified:
doc/trunk/design/syn/S05.pod
Log:
Nick++ noticed where I spaced out. Just glad someone's reading these things...
Modified: doc/trunk/design/syn/S05.pod