On Tue, 12 Mar 2002, Bill Catlan wrote:

> Idiom in question:
>
>   # Get run-mode from subref
>   $rm = $rm_param->($self);
>
> Is there a word for this idiom in the object oriented programming world - where
> an object calls a method on itself and passes a reference to itself to that
> method?  It seems like a kind of recursion.  It would help me to have a label
> for this brain twister. :)

Try "Object Oriented Programming with Perl" by Damian Conway.  If there's
a name for it, it's in there!

-sam



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to