This isn't mine, but I thought it useful enough that, by permission, I post it here. Please only ++ the original nodes.
This snippet goes at the end of a module which (for whatever reason) has a changing population of functions, so you don't have to keep forgetting to add them to @EXPORT when you alter the module.