in reply to Persistant variable/data/object?
package G; use strict; use Config::General; use vars qw( %CF ); %G::CF = ParseConfig("./config.dat");
elsewhere, when I want to make use of the info in the hash
use strict; my $foo = $G::CF{foo}
Note the use of Config::General a great config file reader/writer.
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
|
|---|