in reply to __PACKAGE__ and method reference
but I think this does the same:return $self->bar(\&{__PACKAGE__ . '::foo' });
return $self->bar(\&foo);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: __PACKAGE__ and method reference
by Realbot (Scribe) on Mar 09, 2005 at 13:46 UTC |