在 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
|