http://www.perlmonks.org?node_id=989299


in reply to compare two rows in a colum file

nitpick, but important: Perl is case sensitive... and your (inadequate) data sample doesn't show Rp and /RP whether occuring together or not.