First of all use strict.pm to encourage your using lexical scoping. (See Dominus' Coping with Scoping for details on what that is.) That will allow you to avoid your current problem which is caused by stale data in global variables sticking around.
Secondly use the CGI module to process parameters. Works much better than the hand-rolled stuff you are using now. (Simpler, more flexible, more secure...)
Thirdly pick up perltidy and indent your code consistently.
I could go on, but that is probably more than enough information to try to digest at one time.
In reply to Re (tilly) 1: Database Search Problem
by tilly
in thread Database Search Problem
by lisaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |