> what is the difference to &$secret_door() except that $self is passed as first parameter?
I do not see any reason for the difference. And the docs are clear and complete here as it seems to me.
$obj->$coderef() must behave the same way as $obj->methodname().
In reply to Re: OOP: ->Coderef for calling Private Methods
by ccn
in thread OOP: Obj->Coderef for calling Private Methods
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |