develooper Front page | perl.perl5.porters | Postings from September 2014

Re: Versioned 'strict'

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
September 11, 2014 19:55
Subject:
Re: Versioned 'strict'
Message ID:
20140911195457.27902.qmail@lists-nntp.develooper.com
Paul Evans wrote:
> I live in eternal hope that one day, one day, we'll get around to
> implementing in core some more strictness flags than the current
> ancient set of three (vars, subs, refs).[*]

But there is actually an overlap between strictures and fatal warn-
ings.  It would be useful to be able to downgrade the existing stric-
tures to plain warnings, but there is no clear way to make it work,
because it becomes very fuzzy when strict and warnings turn the same
feature on and off simultaneously.

A new stricture could be introduced as a new category of warnings, off
by default, that can be fatalised at will.  use v5.43.21 can be made
to enable or disable pretty much anything.

Just some random thoughts..


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About