Hi,

i have a script with my modules.
i.e
#!/usr/bin/perl
use strict;
use warnings;
use Config::IniFiles;
my $cfg = new Config::IniFiles( -file => "/path/configfile.ini" );
use lib '/path/tomy/Module';
use MyModule;
use TestModule;

now i would like $cfg to be global , so that all module can use the same
variable, and i don't have to declare each time $cfg in the module.
If  I do "our $cfg", i can't get the variable in the module,I tried but i
don't know how to get.
Any help is appreciated.

Anthony



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to