I need this because I'm trying to rewrite a huge single-file program as an OOP application. Unfortunately, practically every variable is global. As I proceed with the rewrite I need an interim solution that allows me to safely use a few global variables/methods across packages.
I found a page on CPAN that indicates I should 'use the UNIVERSAL class'. I believe they mean I should
clutter up the namespace and add a method to UNIVERSAL.
I'm pretty damn sure that this would result in serious bad kharma. On the other hand, it would work.