http://www.perlmonks.org?node_id=379086


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.