> Yet, I personally would prefer it if strict 'refs' is always on by
> default. Would this hinder one-liners? How many one-lliners do you write
> that depend on symbolic references? None, I hope.

The problem with this is that now we're only turning some strictness on,
like turning some warnings on, which is confusing.

'use strict' and 'use warnings' should be either on or off in their
entirety. That way code either says:

   use strict;
   use warnings;

Or:

   no strict;
   no warnings;

But not:

  no strict 'refs';    # on by default, disable
  use strict 'vars';

Which is too confusing.

I prefer door #1. Default Perl should remain as flexible as possible,
just like UNIX, not DOS. This RFC is right on.

-Nate

Reply via email to