Okay this is what I want to do. I have a configuration file:
- test_config.pl for global variables -
my $test = "Hello,World!";
and I have another perl script which I want to put all my code in:
Except I get the following error when I execute test_config.pl
frank@Andromeda:~/httpd/cgi-bin > ./test_config.pl
Global symbol "$test" requires explicit package name at test.pl line 5.
Compilation failed in require at ./test_config.pl line 5.
How can I make it so I can have a configuration file with all my global
variables and an implementation file? Kinda like the .c and .h combo in
From: Frank Hale
Website: franksstuff.com (Dynamic IP, Online when I am online)