Or
print FILE "$_\n" for (keys %hash); [download]
In reply to Re: print out keys of hash with carriage returns by pg in thread print out keys of hash with carriage returns by bengmau