![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
I think you must have meant "Bubba->new->abba" produces the error. The below code works as I expect it to, printing 2 then your error, then 1.
This makes sense to me because if i have code that is using a Hubba, and I make a Bubba, then that same code should be able to use the Bubba as if it is a Hubba, which means the interface shouldn't change. i.e. hubba is always an Int as the base clase says it should be. ___________ Eric Hodges In reply to Re: attribute collisions ín Moose
by eric256
|
|