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

Re: [ID 20000403.009] uninitialised concatenation???

From:
Richard Foley
Date:
April 4, 2000 07:23
Subject:
Re: [ID 20000403.009] uninitialised concatenation???
Message ID:
38E9F884.74592D9F@m.dasa.de
Tom Christiansen wrote:
> 
> >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
It seems a shame to have to use another language, just because a couple of
warnings confuse once in a while.

> would penalize the rest of us. People are can't understand warnings
Why is a clear message a penalty?

> should hire a programmer who can.
It's apparently misleading enough to generate about seventy (occasionally
off-topic) messages recently (most of which I have finally read).

> The real issue is ignorance.  Solve it by education.
Finally, unfortunately, I have to agree with you on that one.

Ciao
Richard Foley
---
richard@rfi.net
'Ciao' - shorter than 'Aufwiedersehen'



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About