Near the beginning of db.cgi, I have the following code:
eval {
...
require "html.pl";
}
...
I would like certain variables - especially %in - to be available in both db.cgi and html.pl, throughout the entire code. How and where should I declare them?
It doesn't seem to be sufficient to declare "my %in" prior to the eval block in db.cgi, but if I use "use vars" in both files I run into problems as well.
Help will be greatly appreciated,
kellner
eval {
...
require "html.pl";
}
...
I would like certain variables - especially %in - to be available in both db.cgi and html.pl, throughout the entire code. How and where should I declare them?
It doesn't seem to be sufficient to declare "my %in" prior to the eval block in db.cgi, but if I use "use vars" in both files I run into problems as well.
Help will be greatly appreciated,
kellner