develooper Front page | perl.perl5.porters | Postings from May 2021

Re: use v5.36; use warnings;

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
May 29, 2021 02:13
Subject:
Re: use v5.36; use warnings;
Message ID:
291e0ac7-d826-466c-9c5a-3f9bdeed5d9b@beta.fastmail.com
On Fri, May 28, 2021, at 9:29 PM, Darren Duncan wrote:
> What I would expect to happen is that the statements are applied in order.  So a 
> "no warnings" above the "use" would have no effect, turning warnings off before 
> they're turned on again, but having it following the "use" would turn warnings 
> off after they're turned on. -- Darren Duncan

Except that's not how this works with strict, so the question is where we choose to be consistent.

-- 
rjbs

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