Contrary to what you see as examples and extensions (some even written by the OEM folks in Boulder,) there is NEVER a good reason to use a global variable for the exclusive use of ONE plugin, or ONE author.
Global variables are for global use, by everyone, and are usually Ruby or environment functionality.