Maybe I'm way off or kinda close.
What I think you want is to use
use vars qw( $VERSION $Other_Variables );
But that is almost like
our $VERSION;
This is a code to show you what is initialized like variables, module and other goodies.
my $return_main = '';
foreach my $key (keys %main::) {
$return_main .= "$key = $main::{$key}\n";
}
print $return_main;
I sometimes run it to see what was loaded.
Also if you want to see all the envirament variables use this.
my $return_env = '';
foreach my $key (keys %ENV) {
$return_env .= "$key = $ENV{$key}\n";
}
print $return_env;
If this helps you out, then cool dude........