in reply to Mysterious append failure.
Because you're declaring a variable in a loop and it falls out of scope outside of the loop e.g
It's statement modifier abuse essentially.perl -we "my $a = q[foo] for 1; print $a" Use of uninitialized value in print at -e line 1.
HTH
_________
broquaint
In Section
Seekers of Perl Wisdom