in reply to Dynamically Creating (and Calling) Object Methods

You might want to look at Moose (newer tech) or Class::Prototyed (older tech) for objects which know how to do this directly.
  • Comment on Re: Dynamically Creating (and Calling) Object Methods