[EMAIL PROTECTED] wrote: > > Even with warnings on, they are all too often ignored. Just today I > got an email from a friend asking "why doesn't this program work"? > The program was throwing a warning, but he'd ignored it. Turns out it > was one of the problems. And he's no newbie. Bizarre. I throw -w and use strict on *every* perl program I write (since I don't do japhs (much)), and I make sure they run perfectly clean. (Of course, sometimes I have to { local $^W; *foo = sub { ... } } ) And I don't find this particularly onerous. > strict by default is right out. That's not the sort of language Perl is. > Supply your own discipline, don't make the language do it or you will > be sorry. Not to get into it again; but I have to disagree here. Better to have to put "no strict;" if you really don't want it. Programming *intentionally* for strictness violation is not something that should be encouraged. The onus should be on the programmer who *wants* to live dangerously. Of course, in perl6, which has much better granularity and definability of exceptional condition classes, this argument may turn out to be moot. (Sorry, Schwern... Couldn't let you have the last word ;-) -- John Porter You can't keep Perl6 Perl5.
- Re: RFC 362 - revisiting the RFC process (was Warnings, ... Bryan C . Warnock
- Re: RFC 362 - revisiting the RFC process (was Warnings, ... David L. Nicol
- Re: RFC 362 - revisiting the RFC process (was Warnings, ... Edward Peschko
- Re: Warnings, strict, and CPAN Edward Peschko
- Re: Warnings, strict, and CPAN (oops) Edward Peschko
- RE: Warnings, strict, and CPAN Paul Marquess
- Re: Warnings, strict, and CPAN Edward Peschko
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN Bart Lateur
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN (Re: Closures and default... John Porter
- Re: Warnings, strict, and CPAN (Re: Closures and default... John Porter
- Re: Warnings, strict, and CPAN (Re: Closures and default... Stephen P. Potter
- Re: Warnings, strict, and CPAN (Re: Closures and default... Bryan C . Warnock
- Re: Warnings, strict, and CPAN (Re: Closures and default... John Porter
- Re: Warnings, strict, and CPAN (Re: Closures and default... Bryan C . Warnock
- Re: Warnings, strict, and CPAN (Re: Closures and default... John Porter
- Re: Warnings, strict, and CPAN (Re: Closures and default... Bart Lateur
- Re: Warnings, strict, and CPAN (Re: Closures and default... Edward Peschko
- Re: Warnings, strict, and CPAN (Re: Closures and default... Bryan C . Warnock
- Re: Warnings, strict, and CPAN (Re: Closures and default... Edward Peschko