Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STRICT is not the default and does not die on error [rt.cpan.org #60959] #99

Open
atoomic opened this issue Oct 5, 2018 · 1 comment

Comments

@atoomic
Copy link
Collaborator

atoomic commented Oct 5, 2018

Migrated from rt.cpan.org#60959 (status was 'new')

Requestors:

From ewilhelm@cpan.org on 2010-09-02 01:16:45:

I'm glad to find the STRICT option available in versions 2.21 and
above. It would be nice if it were the default. ;-) Failing that,
please document it prominently in the main synopsis, e.g.

    my $config = {
      STRICT => 1, # new since version 2.21
      ...

I would recommend that process() throw an error if the stricture checks
fail. It might be early enough to get away with that rather than
needing a NO_REALLY_STRICT_I_MEAN_IT option.

Thanks,
Eric

@toddr
Copy link
Collaborator

toddr commented Oct 5, 2018

At this point making strict default would be a major behavior change. I don't think that's appropriate. Possibly we could make it default if you do:

use Template qw(strict)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants