Hi experts,
I have q few scripts that all need the variables declared with use vars qw( $q $db $html ..........
Now since the variables are more than 300 and all the scripts use the same variables I just wnated to save all the variables in a file and then call the file directly from each script something like:
foreach $line (@filewithvariables) {
print "use vars qw( $line)";
}
so that I do not have to waste 300 lines in any script.
Do you have any suggestions?
thanks for your time
Start Free Trial