Quoting Dave Mitchell <davem@iabyn.com>: > On Mon, May 24, 2004 at 05:19:41PM +0100, Nicholas Clark wrote: > > 3: we need another way of specifying that we'd like uninit warnings to be > > reported in the new format. > > This also needs to be somethiong that makes it clear that it's a temporary > expedient for 5.8.x only and that it's on in 5.10.x automatically; > > ie if we introduce the general public to (say) > > use warnings 'undef_var_names'; > > then in 5.10.0 they'll have to do this instead to maintain the status quo: > > no warnings 'undef_var_names'; I'd rather have an option globally settable, non-intrusive, forward-compatible; with a clear note, "this will be the default in 5.10 and onwards". I think yet another environment variable can do. PERL_5_10_ISH for example. Detailed warnings will be wanted by developers, so they could set this variable while they are debugging, and leave it off in production. The main advantage of this approach is that it will not be necessary to modify the code to get the detailed warnings.Thread Previous | Thread Next