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

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

Thread Previous | Thread Next
From:
Kent Fredric
Date:
June 5, 2015 11:58
Subject:
Re: for 5.24: new categories for strict/warnings?
Message ID:
CAATnKFDzzRnUB1XwvVksNnzq0DOsYFn_7LqFijq=2Z6Wd+RA7A@mail.gmail.com
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.

That is, irc, `use Moose` will bolt a 'meta' method into your package, but
`no Moose` will not remove it, `no Moose` will only unimport that which it
imported  .... actually, I'm not exactly sure how that part works, I just
know "meta" is still there afterwards, but the syntax sugar gets nuked.

In this case, making them symmetrical is bad.



-- 
Kent

*KENTNL* - https://metacpan.org/author/KENTNL

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