On Sat, Jan 22, 2011 at 7:42 PM, Rick Apichairuk <[email protected]> wrote:
> Chris, > > First of all, please accept my deepest apologies for upsetting you. I'm > cutting off my left pinky right now. Where would you like it shipped to? Heh, I apologize for being overly cranky yesterday. Please send the left pinky to the TPF to hold so we can auction it off at YAPC::NA. > The original code did actually take the $person object and instantiate an > employee object using the attributes from $person and then generating the > current date for the hireDate attribute. In trying to debug the problem, I > tried to get the Employee class to instantiate correctly from within the > Manager class. That is why it is hard coded there. I forgot about that and > should have adjusted it. When I dumped out the contents of $employee, the > person attributes are always missing. And that is what I was referring to > when I said inheritance was now working. My apologies for leaving that in > there. > > I think I will stop using MooseX::Declare for now. Thanks for your time and > help. MooseX::Declare is I think confusing things a bit yes. If however you can get a cleaned up example that exhibits the behavior your seeing, I'd be happy (and promise less cranky) to take a look at it. -Chris
