in reply to Use of uninitialized value in open second time but not first.

i don't know why it only warns the second time, or why it warns at all, but
my $output = '';
silences it..