Comparing two files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • umamaheswarig
    New Member
    • Aug 2007
    • 6

    Comparing two files

    How can i Compare the lines of two different file.
  • savanm
    New Member
    • Oct 2006
    • 85

    #2
    Hi G.Uma Maheshwari

    Try this This is the basic idea of Comparing two files...

    [CODE=perl]
    use File::Compare;

    if (compare("xmlwr ite.pl","1xmlwr ite.pl") == 0) {
    print "They're equal\n";
    }
    [/CODE]

    Regards.
    Navas.M

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      In addition, please be sure and post the code that you have tried already. This is not a script writing service. We want you to learn and that won't happen if we write it for you.

      Regards,

      Jeff

      Comment

      Working...