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

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

Thread Previous | Thread Next
Kent Fredric
June 5, 2015 11:58
Re: for 5.24: new categories for strict/warnings?
Message ID:
On 5 June 2015 at 22:13, Aristotle Pagaltzis <> 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.



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About