use File::Compare; if (compare("file1","file2") == 0) { print "They're equal\n"; } [download]
In reply to Re: problem with while loop by Anonymous Monk in thread problem with while loop by texuser74