I like the way you think,
repellent; I have been wondering the same thing. Running a
Super Search where title contains all of "pod", "variable" returned a couple of seemingly relevant nodes:
Can a module's POD access the module's variables?
variables in POD
Perhaps they will give you some ideas.