in reply to Re^2: Fake a sub ref?
in thread Fake a sub ref?
No, that requires a lexical $someobj which contains at the time of the creation of the anonymous coderef a reference to the instance you want to call the method upon. See perldoc -q closure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Fake a sub ref?
by Anonymous Monk on Feb 18, 2005 at 17:36 UTC |