in reply to Re^6: Compare three columns of one file with three columns of another file in perl
in thread Compare three columns of one file with three columns of another file in perl

Please use <code/> tags for code AND DATA, otherwise HTML will linearize them.

Anyway - the data you supplied showed NO matching cases that would be printed with the code I wrote.

After I added this line into the first file:

chr1 3205904 3207317
It correctly printed the contents expected, sot the code works as I expect.

As suggested earlier, perl debug can help find why it does not behave as you might expect it to.

        "Despite my privileged upbringing, I'm actually quite well-balanced. I have a chip on both shoulders."         - John Nash

  • Comment on Re^7: Compare three columns of one file with three columns of another file in perl
  • Download Code