in reply to Re^5: OOP: ->Coderef for calling Private Methods (possibilites?)
in thread OOP: Obj->Coderef for calling Private Methods
Till now, I haven't run any tests, but it's not clear to read if it's a subroutine reference to a method or just to any subroutine.
some additional phrases and examples are missing!
It's perfectly possible that perl might do a check if the coderef is in the STASH of the class.
and I don't see why such a powerful feature should be hidden in 3 dispersed half-phrases in the perldocs.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: OOP: ->Coderef for calling Private Methods (possibilites?)
by ikegami (Patriarch) on Dec 13, 2008 at 20:34 UTC | |
by LanX (Saint) on Dec 13, 2008 at 20:42 UTC | |
by ikegami (Patriarch) on Dec 13, 2008 at 20:46 UTC | |
by LanX (Saint) on Dec 13, 2008 at 21:00 UTC |