open(FILE, '>file.txt') or die "Can't open 'file.txt' for writing: $!";