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