/blah/cgi-bin/search #### open LOGFILE, ">>search_log"; print LOGFILE "stuff\n"; close LOGFILE;