List Info

Thread: Re: Loading variables from a file.




Re: Loading variables from a file.
country flaguser name
United States
2008-03-25 17:06:05

--- In perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com, "Kevin Patterson&quot; <kpatters...>
wrote:
&gt; I have 10 different programs which use the same variable called $envq =
> "Development&quot;.
>
> Each time I have to change this one variable, I have to make updates
to 10
> different programs.

It seems to me that you want a configuration file. I would suggest
looking at this module: http://search.cpan.org/dist/AppConfig/

/sandy
http://myperlquiz.com/

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )