On Mon, Aug 10, 2009 at 16:56, Martin Spinassi<martins.li...@gmail.com> wrote: snip > The problem with that, is that one variable is added/removed from the > global config, then it should be changed at the script. > > I don't know if this can do the trick, what do you think? snip
It sounds like you should switch to a config file instead of trying to use use, require, do, or eval. Take a look at [Config::Simple][1] and everything else in [Config::*][2] on [CPAN][3]. [1] : http://search.cpan.org/dist/Config-Simple/Simple.pm [2] : http://search.cpan.org/search?query=Config%3A%3A&mode=all [3] : http://search.cpan.org -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/