AlexP has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks!
I decided to dive into Moo and found that it's not necessary to use pragmas 'strict and warnings', cause they are already enabled by Moo.
But I couldn't find any information about utf8 pragma. Do I need to use it explicit?
And there is one more question about use namespace::clean and no warnings qw(experimental::signatures). In Moo docs there is a line: "Moo will not clean up imported subroutines for you; you will have to do that manually. The recommended way to do this is to declare your imports first, then use Moo, then use namespace::clean" . But when I do this warning about signatures occurs. Is there a nicer way to use them together?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use utf8 pragma with moo
by davido (Cardinal) on Jan 14, 2022 at 18:45 UTC | |
by AlexP (Pilgrim) on Jan 15, 2022 at 08:46 UTC | |
by Corion (Patriarch) on Jan 15, 2022 at 08:50 UTC | |
by syphilis (Archbishop) on Jan 15, 2022 at 13:47 UTC | |
by Corion (Patriarch) on Jan 16, 2022 at 07:10 UTC | |
| |
by AlexP (Pilgrim) on Jan 15, 2022 at 08:58 UTC | |
|
Re: use utf8 pragma with moo
by ikegami (Patriarch) on Jan 14, 2022 at 19:07 UTC |