in reply to output of array into data
Whatever you're using to view the text file with has a different notion of tab width than your screen. Correct it's notion, or use something like Text::Reform to lay it out without tabs.