open F1, "< FileA.txt";
open F2, "< FileB.txt";
my %hash1;
my %hash2;
while (
while (
print "words are in FileA but not in FileB are:\n";
foreach (keys %hash1) { print if !defined($hash2{$_}); }
print "words are in FileB but not in FileA are:\n";
foreach (keys %hash2) { print if !defined($hash1{$_}); }
close F1;
close F2;
沒有留言:
張貼留言