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

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



Steve Fink <sfink@digital-integrity.com> wrote:

> Then should
> 
> $x = 1;
> delete $x;
> $x = 2;
> 
> issue two warnings?

Nope. FWIW, my opinion is that delete should remove an element of an 
aggregate. I really can't see any use or reason for it to be defined on 
scalars.

/Pete/

"THIS IS THE COMPATIBILITY POLICE.
 RESTORE YOUR ORIGINAL TOKE.C AND BACK AWAY SLOWLY."


References to:
Steve Fink <sfink@digital-integrity.com>

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