Re: Uninitialized value warnings should die (was Re: RFC 212 (v1) Make length(@array) work)
[email protected] (Tom Christiansen) Sun, 17 Sep 2000 19:35:45 -0600
| Newsgroups | perl.perl6.language.subs |
|---|---|
| Message-ID | <7599.969240945@chthon> |
>> I just think it's a case of "crying wolf", especially when other
>> people's CPAN modules start spewing this stuff out from perfectly
>> reasonable code, filling up your web error logs with "uninitialized this
>> and that". As a sysadmin, that pisses me off. :-(
>Much of your problem has been solved through lexical warnings.
That's very true. People who globally enable warnings in code that
isn't their own get precisely what they've asked for. 'Twas for
this that lexical warnings were invented--amongst other things.
Don't write
#!/usr/bin/perl -w
when you mean
use warnings;
As these are *not* the same thing.
--tom