in reply to Fun with Closures

Sometimes called "inside-out objects". This node has pointers to other, related discussions as well.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.

Replies are listed 'Best First'.
Re: Fun with Closures
by Abigail-II (Bishop) on Mar 25, 2003 at 08:11 UTC
    Eh, no, using closures to create objects has nothing to do with Inside-Out Objects. Last year on YAPC::NA, I did give a talk discussing both Inside-Out Objects and an OO system based on closures, but there was nothing in common between the two.

    As for a closure based object system, including inheritance and AUTOLOAD, see OO::Closures on CPAN.

    Abigail

      You are quite right. I was thinking of your OO::Closures, and when I searched, came across your inside-out objects, and rashly conflated the two. Both are cool, but entirely distinct.

      jdporter
      The 6th Rule of Perl Club is -- There is no Rule #6.