in reply to Remove Duplicates from one text file and print them in another text file.
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove Duplicates from one text file and print them in another text file.
by bedohave9 (Acolyte) on Jun 04, 2012 at 18:25 UTC | |
by toolic (Bishop) on Jun 04, 2012 at 18:44 UTC | |
by bedohave9 (Acolyte) on Jun 04, 2012 at 20:51 UTC |