[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: exists $foo[7] and delete $foo[7]
Gurusamy Sarathy <gsar@ActiveState.com> writes:
>
>The effect of exists() on an array element cannot be represented using
>existing semantics, because the concept of "uninitialized array element"
>wasn't visible at the Perl level before.
While you are in the mood - the other exists() target that has
been suggested since 5.001m or so is exists(&Foo) to tell if there
really is anything there as opposed defined(&Foo) is true if only
a stub has been seen.
--
Nick Ing-Simmons
- Follow-Ups from:
-
Larry Wall <larry@wall.org>
- References to:
-
Gurusamy Sarathy <gsar@ActiveState.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]