in reply to writing an array of data to a file
for (@rows) { print OUTPUTFILE "$_\n"; } [download]
Cheers, Darren :)