in reply to Re^2: What is a reliable way to get the package of the code creating a Moose object?
in thread What is a reliable way to get the package of the code creating a Moose object?

> I think what I really need to do is create a parent class

The role is like an abstract parent class in this case. And you can "override" the method when consuming the role.

($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,
  • Comment on Re^3: What is a reliable way to get the package of the code creating a Moose object?
  • Download Code