in reply to how to make a universally inherited method?

sub UNIVERSAL::aMethod { do something; } works fine.

However for your task I would use Singelton classes.

  • Comment on Re: how to make a universally inherited method?