Home  |  Linux  | Mysql  | PHP  | XML
From:Eric Date:Sun Feb  7 05:36:25 2010
Subject:Re: variable scope
On Feb 6, 11:01 pm, jeffp...@netzero.net (Jeff Peng) wrote:
> 在 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: jeffp...@netzero.net
> Skype: compuperson

Hi Jeff,

Thank you very much for the pointing me to the doc you wrote. All very
good solutions and possibilities. It's exactly what I was looking
for.

Thanks again,
Eric

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


Your recent visits
LMPX.COM :: Linux, Mysql, Php, Xml
multiple finder
Re: sorting anonymous arrays inside arrays
Re: [PHP] generally, where in cPanel can one set the default page to load?


  
No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants