Perl Monk, Perl Meditation | |
PerlMonks |
Re: Moose role with requirement consuming another roleby nysus (Parson) |
on Feb 25, 2017 at 01:51 UTC ( [id://1182778]=note: print w/replies, xml ) | Need Help?? |
I'm almost 6 years late to this conversation but this worked for me:
The trick seems to have been to put the with statements on two different lines and putting the role with the required attribute first in the list.
$PM = "Perl Monk's";
In Section
Seekers of Perl Wisdom
|
|