Nathan Wiger <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > > > > Command-line flags on by default [-T -Mstrict -Mwarnings]: > > > > We already beat this to death with the .perlrc discussion. You'll > > break reams of Perl code you probably don't even know you have this > > way. > > > > It destroys the portability of Perl programs. > > Yup, I agree. I actually was on the "this is a bad idea" side of the > discussion the first time around. Just throwing it back out there. > > Not too sure about the whole -w on by default thing. Really makes me > nervous. All I keep thinking about is the crap that Java spits out every > two lines. Makes stuff really look unpolished, and the warnings change > based on the JVM platform and version you're running. In Perl, this > would create problems if new warnings are introduced later. All of a > sudden scripts that have been working correctly now start spitting out > warnings, and either you or your client is terribly confused. How about having require 6.0.0 set the 'warnings level' to generating only those warnings that were in the specified version. -- Piers
- Re: Warnings, strict, and CPAN (Re: Clo... John Porter
- Re: Warnings, strict, and CPAN (Re: Clo... Bart Lateur
- Re: Warnings, strict, and CPAN (Re: Clo... David Grove
- Re: Warnings, strict, and CPAN (Re: Clo... Peter Scott
- Re: Warnings, strict, and CPAN (Re: Clo... Dan Sugalski
- Turn 'em on! (was Re: Warnings, strict... schwern
- Re: Turn 'em on! (was Re: Warnings, st... Nathan Wiger
- Re: Turn 'em on! (was Re: Warnings, st... Dave Storrs
- Re: Turn 'em on! (was Re: Warnings, st... schwern
- Re: Turn 'em on! (was Re: Warnings, st... Nathan Wiger
- Re: Turn 'em on! (was Re: Warnings, st... Piers Cawley
- Re: Turn 'em on! (was Re: Warnings, st... Michael G Schwern
- Re: Turn 'em on! (was Re: Warnings, st... Peter Scott
- Re: Closures and default lexical-scope for subs abigail
- Re: Closures and default lexical-scope for ... Peter Scott
- Re: Closures and default lexical-scope ... Piers Cawley
- Re: Closures and default lexical-scope ... Peter Scott
- Re: Closures and default lexical-scope for subs Peter Scott
- Re: Closures and default lexical-scope for subs Nathan Wiger
- Re: Closures and default lexical-scope for subs abigail
- Re: Closures and default lexical-scope for ... Nicholas Clark