in reply to compare two rows in a colum file

Setting $/ to the empty string (paragraph mode) might help you.

What have you tried so far? Which problems did you have?