>The warning message "use of uninitialized value" should also
>disappear, to be replaced with "use of undefined value", and the
>warning for the purpose described in this RFC should be "use of
>uninitialized variable C<$x>".
What about if there's only an expr, not a variable?
For example:
print $$x->methop()
If the return list of the object whose ref ref is in $x is (a, undef, b),
what are you supposed to say?
--tom
- RFC: variable usage warnings Steve Fink
- Re: RFC: variable usage warnings Tom Christiansen
- Re: RFC: variable usage warnings Steve Fink
- Re: RFC: variable usage warnings Tom Christiansen
- Re: RFC: variable usage warnings Steve Fink
- Re: RFC: variable usage warnings Steve Fink
