in reply to Subs with 'extra stuff'?

Another example is Test::Class, which uses attribute handlers to register a list of methods in each class that need to be run.