On Fri, Feb 16, 2001 at 03:51:31PM -0500, [EMAIL PROTECTED] wrote:
> Can we take this thread over to perl6-language-strict? Its where it
> belongs. Then you can argue to your heart's content and let us know
> when you've reached a conclusion.
Ok, that seems fair enough. But I really don't think that it should be a
religious issue - there are tons of places where a consensus can be
reached. I think we could even modify RFC 16 so that everybody is
satisfied.
Here are a couple more ideas:
1) be lax on warnings and strict in a script, assume strictness and
warnings in the modules. Rationale: in a script, you really
have an audience of one. With few exceptions, you are only
running the script for yourself.
With a *module* however, you should know better. Since you
are intending your code to work with the 'outside world', you
have a civic duty to make your interface clean. And if you
really know what you are doing, you can turn off the warnings,
strictness as you see fit.
2) provide a flag (-W ) which is a combo of 'use strict' and
'use warn' for scripts. Perhaps the -W should have warning
levels ie - '-W1' means just warn, '-W2' == warn + strict,
etc etc etc.;
Ed