There's absolutely nothing wrong with doing this, and it's probably encouraged if you are running several different CGI scripts, as this allows you to do tricks as above, reuse code, set site-wide constants, etc. Just make sure you comment well if you have others that will be looking at the scripts at some point in the future.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain