@xreflines=; #remove the blank lines from the araary @xreflines = grep /\S/, @xreflines;