[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: exists $foo[7] and delete $foo[7]
Nick Ing-Simmons writes:
: 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.
Other way around. It exists if there's a stub, but is defined if the
stub has been assigned a body. Conveniently, that is consistent with
the current definition of defined(&foo), which returns false on a mere
stub.
Larry
- Follow-Ups from:
-
Spider Boardman <spider-perl@Orb.Nashua.NH.US>
- References to:
-
Nick Ing-Simmons <nick@ing-simmons.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]