in reply to Re^2: Package level scope callbacks.
in thread Package level scope callbacks.
Overloading "&{}" really would be elegant.
Maybe someone should bring that up on the p6 list in the hope that it can be done over there.
Thinking about it again, I'd think no. When you call a sub with f(), you can certainly not overload it as it's dereferencing a glob (like &{*f}()), not a reference, and you can not bless globs the way you can do it with references.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Package level scope callbacks.
by BrowserUk (Patriarch) on Aug 01, 2004 at 21:20 UTC | |
by Aristotle (Chancellor) on Aug 01, 2004 at 23:14 UTC |