I have several modules which needs global variables from a text file
(global.txt).
Within each module, I use require "global.txt" to get my variables.
----------------------------------------------------------------
global.txt
----------------------------------------------------------------
$shop = "Shop name";
$sendmail = "/usr/./sendmail";
$email = "[EMAIL PROTECTED]";
and so on.
---------------------------------------------------------------
 
 
But strangely enough, all my modules get the first variable in text file
and warm that the rest are uninitialized.
I'm a bit confused on what that might mean.
 
Thanks for any help
 
Babs 
 
 
 
 

Reply via email to