in reply to Re: Re: Nested Classes
in thread Nested Classes

The OP asked how to
  1. create an object,
  2. bless,
  3. and then bind subroutines to it (written within another objects method) as methods.

That's what I tried to show. Sure it's better to define classes statically. But as I understood the OP, he wanted to do this on the fly