Johnstone, Colin said: > Gidday all, > > I have written what I will refer to as an include file ( php speak ) and > named it press_config.pl The contents is the initialisation of the
In Perl it would probably be called a library - hence the pl extension. Perl Library. > variables that I wish to use across my mailinglist application. It is > below. > > First problem > > When I use the require statement to call this file into another I no > longer have access to the variables. I was hoping to include this file > at the top of each of my programs across the application naturally so > that I only have to write them once. The required file is in it's own scope - hence the C<my> variables are not accessible outside the required file. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
