in reply to Re^3: Mocking a method defined in a Moo Role
in thread Mocking a method defined in a Moo Role

The following line is missing in MyRole:
use Moo::Role;

Also, foo and call are different subs.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^5: Mocking a method defined in a Moo Role
by PopeFelix (Beadle) on Jun 28, 2016 at 15:14 UTC
    Thanks, I corrected that.