On Tue, Aug 3, 2010 at 1:47 PM, Brian ROONEY <[email protected]> wrote:
> Such that I can say (this is all very rough pseudo code): > [messy nasty psudocode] > > In hindsight this looks messy and nasty to me. *And* you're reinventing objects as (unblessed) hashes full of code refs. This kind of thing is why objects were invented, associating Data, Behavior and a Namespace (or Type). Ultimately though this kind of behavior at runtime is a nasty nasty morass of complexity that people have spent the better part of 3 decades writing many many compile time tools to deal with. Classes, Roles, and Types are just a few. What are you trying to achieve that you need runtime dynamic methods? Why aren't you using the Moose meta layers to provide it? -Chris -Chris
