On Tue, Apr 04, 2000 at 02:51:12PM +0000, Simon Cozens wrote: > Ronald J Kimball (lists.p5p): > >Yes, Tom, we all understand that there are many cases where different Perl > >syntax is compiled to identical opcodes, and that the interpreter warnings > >reflect the compiled opcodes and not the original code. > >But, neither the compiler nor the interpreter is going to fix the Perl code > >that caused those warnings. That can only be done by the programmer, and > >the warning messages should be optimized for the programmer, not for the > >compiler or the interpreter. > > What are you going to do about this? I recommend changing the opcode descriptions from 'concatenation (.)' and 'join' to 'concatenation (.) or string' and 'join or string'. > othersideofthe:simon ~ % perl -we 'my $a; my $b="one"; print $a, $b' > Use of uninitialized value in print at -e line 1. > > If you're optimising for the programmer, you tell him which variable it is. Solving this problem would probably be judged too expensive and I doubt a patch for it would be approved. RonaldThread Previous