Re: RFC: variable usage warnings

2000-08-02 Thread Steve Fink
Tom Christiansen wrote: > > >"symbol $main::x used only once" -> "use of uninitialized variable > >$main::x" > >"use of uninitialized value" -> "use of undefined value" > > Perhaps then > > "use of uninitialized value" -> "use of undef as discrete value" > or > "use of uninitialized val

Re: RFC: variable usage warnings

2000-08-02 Thread Steve Fink
Updated RFC. --- =head1 TITLE variable usage warnings =head1 VERSION Maintainer: Steve Fink <[EMAIL PROTECTED]> for now Date: 2 Aug 2000 Version: 0.2 (unreleased) Mailing List: [EMAIL PROTECTED] Number: (unassigned) =head1 ABSTRACT "VARIABLE used only once:

Re: RFC: variable usage warnings

2000-08-02 Thread Tom Christiansen
>. You misunderstand; I am *not* addressing the >perennial complaint that the "use of uninitialized value" doesn't >identify the source of the undefined value. Ok. >"symbol $main::x used only once" -> "use of uninitialized variable >$main::x" >"use of uninitialized value" -> "use of undefined v

Re: RFC: variable usage warnings

2000-08-02 Thread Steve Fink
Tom Christiansen wrote: > > >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 exp

Re: RFC: variable usage warnings

2000-08-02 Thread Tom Christiansen
>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: p