develooper Front page | perl.perl5.porters | Postings from April 2000

Re: [ID 20000403.009] uninitialised concatenation???

Thread Previous | Thread Next
Tom Christiansen
April 4, 2000 06:37
Re: [ID 20000403.009] uninitialised concatenation???
Message ID:
>How about the much less inflamatory, and much more useful:

How about addressing the real issue?   

% perl -lwe '@a[0,2] = (0,2); print "@a $a", "$a", $a'
Use of uninitialized value in join at -e line 1.
Use of uninitialized value in concatenation (.) at -e line 1.
Use of uninitialized value in string at -e line 1.
Use of uninitialized value in print at -e line 1.

Those are all different cases.  They should not be conflated just
to stick a pacifier in the mouths of the confused, because that
would penalize the rest of us. People are can't understand warnings
should hire a programmer who can.

The real issue is ignorance.  Solve it by education.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About