in reply to Re^3: Sharing and over-riding package functions
in thread Sharing and over-riding package functions

SUPER is an excellent choice for a namespace (in this situation). It implies the same intention as Perl's built in pseudo-class, which is why I chose it. I get exactly what I expect by calling SUPER::myfunc(). Just as I get exactly what I expect by calling a blessed object with $obj->SUPER::myfunc().

There would only be confusion if I were trying to mix a SUPER name space and blessed objects at the same time. If I had the option (or desire) to use blessed objects in this situation, I wouldn't need to mess with function references and namespaces :)

  • Comment on Re^4: Sharing and over-riding package functions