open(LOGFILE, '>>test.txt') or die"Can't append: $!";