![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Conditional inheritance strategyby Corion (Patriarch) |
on Oct 27, 2010 at 13:22 UTC ( #867717=note: print w/replies, xml ) | Need Help?? |
Maybe you want then My->from_xml and/or My->from_json? Why is it important that My objects are XML or JSON objects? It seems to me that they should maybe be able to display or store themselves as XML or JSON, which I would put into a separate plugin or serialization class.
In Section
Seekers of Perl Wisdom
|
|