$detailLog->insert ('end', $_); # or $detailLog->insert ('end', $string);