develooper Front page | perl.perl5.porters | Postings from June 2015

Re: for 5.24: new categories for strict/warnings?

Thread Previous | Thread Next
From:
Eirik Berg Hanssen
Date:
June 5, 2015 12:49
Subject:
Re: for 5.24: new categories for strict/warnings?
Message ID:
CAHAeAG5Yep4Hr8_37xHczrB=rc348OjnRBVd8nFHFuUcDD2e9w@mail.gmail.com
On Fri, Jun 5, 2015 at 1:58 PM, Kent Fredric <kentfredric@gmail.com> wrote:

> On 5 June 2015 at 22:13, Aristotle Pagaltzis <pagaltzis@gmx.de> wrote:
>
>> How is it sane for `use foo` and `no foo` to not be symmetrical?
>
>
> If you want a precedent, Moose might just be one.
>

  Isn't autodie also a precedent?  Docs say «use autodie» is «use autodie
qw(:default)», while «no autodie» will «disable all autodies».

  And if I read the code right, the unimport method indeed defaults to
':all', while import will default to ':default'.

  (Although I suppose you could argue autodie is not sane …)


Eirik

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