in reply to Re^2: Merging files
in thread Merging files

Since the lhs of .= is always a defined value, even if you append undef.
perl -MData::Dumper -e '$x.= undef; print Dumper($x)' __OUTPUT__ $VAR1 = '';
Boris