Home  |  Linux  | Mysql  | PHP  | XML
From:Eric Date:Fri Feb  5 14:27:36 2010
Subject:variable scope
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.

Thanks,
Eric

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


Your recent visits
64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server
Re: Storing a file from a cgi parameter
Re: Need help with Mail::Sender
Storing a file from a cgi parameter
Module CAM::PDF


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