in reply to Re^2: reference to a subroutine inside a package
in thread reference to a subroutine inside a package
but yes i have to instantiate the class and pass it as an argument (that's not problem, well if you are an OO purist it is)why would that be a problem for OO purists?
update: one might think (i thought that too for a while) that only
$coderef->($object, $arg1, $arg2, ...);
will work, which, of course, isn't too nice OOP.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reference to a subroutine inside a package
by Happy-the-monk (Canon) on Jun 03, 2004 at 11:40 UTC | |
by tinita (Parson) on Jun 03, 2004 at 11:50 UTC |