perhaps you want to 'use' or even 'do' your module
but it depends on the error you are getting
perhaps you can provide a bit more context?

Jos

----- Original Message ----- 
From: "Oliver Velten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 3:32 PM
Subject: usage of require


> Hi,
> 
> I wrote a perl programm where i have a lot of strings defined and a lot 
> of configuration data. To have a handy file where all configuration is 
> stored and can be easily changed I want to use the require function. So 
> I put after use CGI; a require config; I created a file called config 
> and put it to the same directory where the script resides. The content 
> is like this:
> 
> @year = (2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011);
> etc.
> 
> But running the programm fails. What' wrong?
> 
> Bye,
> Oliver
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed.
> Sony cannot accept liability for statements made which are clearly
> the sender's own and not made on behalf of Sony.
> (01)
> **********************************************************************
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to