in reply to Re^3: reference to a subroutine inside a package
in thread reference to a subroutine inside a package
seems to be perfect OO style...
Because you are used to seeing this. Some OO purists dislike arguments (to methods, not the other kind). They would probably prefer it like this:
$object->$coderef( $object->$other_coderef_to_access_arg1_through_argn );
Cheers, Sören
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: reference to a subroutine inside a package
by tinita (Parson) on Jun 03, 2004 at 11:50 UTC |