[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: exists $foo[7] and delete $foo[7]



>I think they're keys.  They're just constrained to be numeric as
>a very valuable hint for optimization.  And in the case of built-in
>arrays, determining order.  But that doesn't necessarily apply to
>tied arrays.  A tied array could perfectly validly raise an exception
>on a pop().

I've certainly had interesting experiences with the new tied
array interceptors triggering on growth.

>: Now, could someone please tell me what to fill in for XXXXX?

>Slightly more seriously, you draw it without the outer bars, leaving
>isolated patches of values, as befits a sparse array:

>    ----------------    ---------------- 
>    |    |    |    |    |    |    |    |
>    ----------------    ---------------- 

Well, yes, I could do that.  Thanks for the constructive 
suggestion.  But if I use it, it's undef, right?  

--tom


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]