Don't ask to ask, just ask | |
PerlMonks |
Moose throwing error with some data which doesn't match the 'Object' constraint, what should I do?by LittleJack (Beadle) |
on Jan 18, 2022 at 05:04 UTC ( [id://11140548]=perlquestion: print w/replies, xml ) | Need Help?? |
LittleJack has asked for the wisdom of the Perl Monks concerning the following question: I don't have a ton of experience with Moose. Say I've got a sub/method called 'foo'. Up at the top of the relevant module is this:
and when that sub/method runs, I get this error:
At the point where the sub/method is supposed to return some data. So what are my next steps? That looks to me like a logical perl object, except for the bare string 'Reference' at the start. Any ideas gratefully received.
Back to
Seekers of Perl Wisdom
|
|