Home  |  Linux  | Mysql  | PHP  | XML
From:Jeff Peng Date:Sun Feb  7 04:01:44 2010
Subject:Re: variable scope
在 2010-02-05五的 06:27 -0800,Eric写道:
> I have a program that requests many config values from an ini file
> using Config::IniFiles. I import all of these values into my main::
> script but it's pretty ugly. Is there a way to import my value
> definitions int variables in a sub or another module and have them
> visible in the main:: scope as local variables.
>

I once wrote a simple document for it, see:
http://home.arcor.de/pangj/share_variables_between_perl_scripts.txt

HTH.

--
Jeff Peng
Email: jeffpeng@netzero.net
Skype: compuperson

Navigate in group perl.beginners at sever nntp.perl.org
Previous Next


Your recent visits
Re: use with variable
Re: Reading BInary file.
Windows Services and Logical Volume Monitoring Script ....
Re: 1-line text file with numbers, need to add to them
Re: 1-line text file with numbers, need to add to them



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants