G'day nysus,
It seems to me that what you want here is Moose::Role.
"Once the object "learns" which type of object it is, ..."
Would "learns which role it's going to take on" be a reasonable paraphrase?
Take a look at the apply_all_roles() function in Moose::Util.
— Ken
In reply to Re: Converting Moose object to a subclass of itself
by kcott
in thread Converting Moose object to a subclass of itself
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |