Folks,
I've got a problem.I want to compare two files and check if that's a duplicate.If so remove it.I used File::Compare and it works great,but to an extent.
Whitespaces aren't ignored but considered as a character.If there are whitespaces, those are treated as characters and they come out as different files.
I tried using diff with the suitable options to ignore the whitespace and it works.But when i try it against a ton of text files(i will be running my script against these tons of files every day) it is very very slow.IS there any other way of comparing the two text files?
Thanks
Ram