in reply to Re: adding text from different txt file into hash
in thread adding text from different txt file into hash

not safe when the files are variable length.
while(<FILE1>){ my $value = <FILE2>; warn "File lengths different!", last unless defined $value; $hash{$_} = $value; } print FILE3 join("\n", map({"$_ = $hash{$_}"} keys %hash));


holli, /regexed monk/