McA has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I'm writing a Moo based class with several methods. I'm pretty new to Moo. While writing the methods I saw that the bodies of the methods are almost the same. Is there a recommended way to "generate" these methods with Moo? Is there a kind of method generation facility? Or do I have to tweak with the symbol table?
Thank you in advance.
Best regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamically adding methods to Moo class
by hippo (Archbishop) on Apr 23, 2014 at 15:56 UTC | |
by McA (Priest) on Apr 23, 2014 at 16:14 UTC | |
by tobyink (Canon) on Apr 23, 2014 at 16:41 UTC | |
by McA (Priest) on Apr 23, 2014 at 16:54 UTC | |
by Arunbear (Prior) on Apr 24, 2014 at 12:51 UTC |