>>>>> "GL" == Glenn Linderman <[EMAIL PROTECTED]> writes:
GL> There is a difference between "undefined" and "unknown".
GL> Perl undefined is a different concept--that of an uninitialized
GL> variable. This is proven from its earliest versions where the
GL> value is coerced to 0 or '' (specific values) when used (without
GL> warnings on).
Sorry, as far as I'm concerned
$foo = undef
and
select @foo = NULL
Are both initialized.
And what do you consider
sub foo { ....; return }
$status = foo;
Uninitialized? Very clearly initialized.
And lets look at the name and functions
defined($foo)
undef($foo)
Both seem clearly to mean _undefined_ or perhaps unknown or NULL
The use of undef meaning 0 or '' is quite useful.
But under some programing styles having tristate logic and NULL propogation
would make some programming task a bit more straightforward.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183
- Re: RFC 213 (v1) rindex and index should return undef on... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should return und... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should return... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should re... Nathan Torkington
- Re: RFC 213 (v1) rindex and index shoul... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index ... Nathan Torkington
- Re: RFC 213 (v1) rindex and in... Chaim Frenkel
- Re: RFC 213 (v1) rindex and in... Glenn Linderman
- Re: RFC 213 (v1) rindex and in... John Porter
- Re: RFC 213 (v1) rindex and in... Chaim Frenkel
- Re: RFC 213 (v1) rindex and in... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should return und... John Porter
- Re: RFC 213 (v1) rindex and index should return... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should re... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index shoul... Glenn Linderman
- Re: RFC 213 (v1) rindex and index ... Chaim Frenkel
- Re: RFC 213 (v1) rindex and in... Glenn Linderman
- Re: RFC 213 (v1) rindex and in... John Porter
- Re: RFC 213 (v1) rindex and in... Glenn Linderman
- Re: RFC 213 (v1) rindex and in... Nathan Torkington
