[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: uninitialized vs. undefined
[Quoting Tom Christiansen, on January 14 2000, 14:04, in "Re: uninitialized vs"]
> Another way of looking at it (mjd: shh about &fn) is that defined()
> is asking whether a scalar value happen to hold the value undef().
> I find this a much better way to think about it, because now one
> never tries to do silly things like asking whether an aggregate
> holds the value undef().
Shouldn't we use 'exists(&fun)' instead of 'defined(&fun)' then?
Or, better still, 'UNIVERSAL::can("fun")'.
-- Johan
- Follow-Ups from:
-
Ilya Zakharevich <ilya@math.ohio-state.edu>
Gurusamy Sarathy <gsar@ActiveState.com>
- References to:
-
JVromans@squirrel.nl (Johan Vromans)
Tom Christiansen <tchrist@chthon.perl.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]