open_log_and_error($file_name); # the above calls this function, imported from module 1, # which opens the file $file_name and ties it to the # handle $LOG write_log('stuff'); # the above calls this function, imported from module 1, # which does some processing and writes to $LOG