Hi
I am trying to read two files and then copy their content to a third file while removing duplicates
please help
#!/usr/bin/perl -w
{
open A,shift;
foreach (<A>)
{$a{$_}++};
open B,shift;
foreach (<B>)
{$b{$_}++};
open C,shift
foreach(<C>)
{
print unless $a{$_}
print unless $b{$_}
}
}