in reply to using main package variables within a module

I think you're going to make things worse in the long term if you try to put references to vars in main:: namespace.

Is there any reason you can't put the conf vars in their own module and then start the other modules with:

use Conf;

Look into using AUTOLOAD in the Conf module, and then:

# change my $one = $conf->{'db_database'}; # to my $conf = new Conf; my $one = $conf->db_database;
I'll leave you to work out the AUTOLOAD and 'new' methods for your instance :)

.02

cLive ;-)

--
seek(JOB,$$LA,0);