in reply to Re^4: Moose - two augmented methods in one class
in thread Moose - two augmented methods in one class
I think the lesson to be learned here is simply "don't use augment/inner for anything complicated", which can be whittled down to "don't use augment/inner" if you like.
Basically, it was an interesting feature, but not something I would advise leaning on too heavily. Not only is the implementation problematic, but the semantics are just plain weird (even in the BETA language from which I originally stole it).
-stvn
|
---|
Replies are listed 'Best First'. | |
---|---|
Moose - inner/augment a misfeature?
by tobyink (Canon) on Jan 11, 2012 at 12:04 UTC | |
by stvn (Monsignor) on Jan 12, 2012 at 02:30 UTC |
In Section
Seekers of Perl Wisdom