vparikh has asked for the wisdom of the Perl Monks concerning the following question:
Even though the files are exactly the same, it reports out "Files are not equal". Any help and suggestions would be appreciated! Thanks!use File::Compare; if (compare("/export/home/Tests/outputIS.txt","/export/home/Tests/outp +utDB.txt") == 0) { print "They're equal\n"; } else { print "Files are not equal\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File comparison
by frozenwithjoy (Priest) on Jul 17, 2012 at 17:37 UTC | |
by vparikh (Novice) on Jul 17, 2012 at 17:45 UTC | |
by Jim (Curate) on Jul 17, 2012 at 21:12 UTC | |
by frozenwithjoy (Priest) on Jul 17, 2012 at 17:50 UTC | |
|
Re: File comparison
by ww (Archbishop) on Jul 17, 2012 at 17:42 UTC | |
by vparikh (Novice) on Jul 17, 2012 at 17:59 UTC | |
by aitap (Curate) on Jul 17, 2012 at 18:06 UTC | |
by vparikh (Novice) on Jul 17, 2012 at 18:07 UTC | |
by Jim (Curate) on Jul 17, 2012 at 21:01 UTC | |
|
Re: File comparison
by cheekuperl (Monk) on Jul 18, 2012 at 10:47 UTC |