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

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



>> 
>Nothing. There's nothing there, not even an undef() or an empty string.
>That's why the array gets shorter if you delete its last value.

You have to put *something* there!  There's a slot.  If there's not
something there, then the slot is gone.  The picture abhors a vacuum.
Is it undef?  Is it ""? Is it 0?  Is it false?  It it XXXXX?  
Is it Jehosaphat? :-)

--tom


Follow-Ups from:
Larry Wall <larry@wall.org>
Nick Ing-Simmons <nick@ing-simmons.net>

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