Dan Sugalski <[EMAIL PROTECTED]> writes:

> At 8:47 AM +0000 1/28/03, Piers Cawley wrote:
>>Damian Conway <[EMAIL PROTECTED]> writes:
>>  > Sure. But then is this:
>>>
>>>     $ref[$key]
>>>
>>>  an array or hash look-up???
>>
>>Decided at runtime?
>
> How? People use strings as array indices and ints/floats as hash
> indices, and count on autoconversion to Make It Work.

Nope. The count on the fact that, at runtime you'll know whether $ref
is a hash or an array. But I'm not actually arguing for this, just
pointing out that it's not necessarily impossible (just way harder to
optimize). 

-- 
Piers

Reply via email to