<-Do I include the word used as my search variable, e.g., query?
What if the words differ for each SearchScript1 and SearchScript2?) ->
Yes, you would put your variable name there.
my $search_type = param("your_form_variable");
<- Will this allow users to do either a local or www search? ->
It will allow the script to go to the correct subroutine according to what choice they make with the radio buttons.
As to the last two, yes you would put your code for your local search in the first sub and the code for the www search in the second sub. if you just wanted to direct it to another cgi from there you would have to pass all the vars with it, which would be a pain in the arse. perhaps have the first sub have all of your local search code and have the second sub just have a link. like:
sub do_www {
print "Location: http://www.dummydomain2.com/search.cgi?search_param=$search_type\n\n";
}
good luck
-- Gordon --
------------------
$blah='82:84:70:77';
print chr($_) foreach (split/:/,$blah);