in reply to Re^2: Copying files from one file to another file
in thread Copying files from one file to another file

$hash{$key} = $hash{$key}  . $line;

or simply

$hash{$key} .= $line;

poj