Good points. New code posted with updated new_survey sub that tests for writable file and creates one if it is absent. Also changed is the sub get_survey_list which no longer dies if there is no data.info . HTH jg _____________________________________________________ It's not my tree.