[sup-talk] Sharing code and data between hooks

Matthias Vallentin
Mon, 27 Dec 2010 09:51:22 -0000

What is the best way to share code and state between hooks? Say I define
a class in the startup hook and create an instance of it. When executing
before-poll, I want to reference that instance. How would I do this?

   Matthias