i wouldn't change the original file1%hash = map {$_ => 1} <>; open OUT, '> file3' or die $!; print OUT for (sort keys %hash);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Merge the difference between two files and save it on the first file. Also update the first file with info in second file.
by Corion (Patriarch) on Oct 11, 2013 at 07:44 UTC | |
by Lennotoecom (Pilgrim) on Oct 11, 2013 at 09:01 UTC |