This singleton pattern, despite the controversy surrounding it, is definitely one of the most popular GoF patterns. While I agree that using singletons to make global variables look like OOP is bad, the pattern actually has quite a few “real” uses.
In order to obtain a reference to the singleton instance, you’d just use the global variable singleton.
Just another programming knowledge nugget I felt that I needed to pass along. Hope it helps you out somewhere along the line!