Can't locate File/IO.pm in @INCThat error means that you told perl to load in the File::IO module, but it could not be found in the search path. Since your code doesn't seem to rely on that module anyway, try deleting the following line:
use File::IO;
Please edit your post to use code tags for your code and error messages: Writeup Formatting Tips
To clean up other warnings and errors, change:
to (my and single quotes):$result_file = "C:\Users\spullabhotla\Desktop\TestToRemoveDuplicates.t +xt";
my $result_file = 'C:\Users\spullabhotla\Desktop\TestToRemoveDuplicate +s.txt';
BTW, there is a Core module named IO::File, if that's what you are trying to use.
In reply to Re: Remove Duplicates from one text file and print them in another text file.
by toolic
in thread Remove Duplicates from one text file and print them in another text file.
by bedohave9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |