in reply to Re^2: writing array element to a file
in thread writing array element to a file

This opens IN for output
open(IN, ">>", "rep_set_ass_tax.fna") or die "Died!!";
it should be
open(IN, "<", "rep_set_ass_tax.fna") or die "Died!!";
poj