[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: exists $foo[7] and delete $foo[7]
Hi,
Tom Christiansen:
> 1 False and uninitialized
Isn't that the same as
> 3 False and nonexistent key:
??
All of these cases already do exist, by the way -- on hashes.
> 6 True yet numerically 0, but without any warnings:
> "0x00", "000", "0.0", "0 but true"
>
IMHO, these are just plain evil. Especially the third one.
Anyway, I'm for keeping exists/delete on arrays.
--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Why doesn't the fattest man in the world become a hockey goalie?
-- Steve Wright
- References to:
-
Tom Christiansen <tchrist@chthon.perl.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]