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

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



>Furthermore, this definition of delete violates 
>least surprise (or is that of import any more?).  I would expect 

>  delete($array[2]) 

>to be equivalent to 

>  splice(@array,2,1)

>(and, frankly, more natural to read).

It's *NOT*?! 

--tom


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