in reply to Global Variables Not Acting Global

Are you running the CGI program persistently (such as under mod_perl), or are you running it as a "normal" CGI program?  In the latter case, the process terminates after every HTTP request, and with it all variables' values are gone...