http://qs1969.pair.com?node_id=624221


in reply to Re: RFC: Alter - Perl extension for Alter Ego Objects
in thread RFC: Alter - Perl extension for Alter Ego Objects

I'm afraid you have a point there (afraid, because last-minute name changes are such a pain). I guess it'll be Object::AlterEgo (not Class::...) because, well, it's the object rather than the class that has an alter ego.

Anno

Replies are listed 'Best First'.
Re^3: RFC: Alter - Perl extension for Alter Ego Objects
by shmem (Chancellor) on Jul 01, 2007 at 06:16 UTC
    I like the name - Alter. But then, maybe Alter::Ego. I don't believe the Object:: prefix adds much to it, since even so, looking at the name, one would ask "what the heck is Alter?". Seeing the ego method inside the package will give the "Aha!" - effect: so it's about the Alter Ego of an object, which is hidden to the outside! Nice.

    But if you want to give it a "conventional" name - what about Object::Magic? It's that - magic, and relies on extension magic.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}