in reply to Re: print lines which are not reverse duplicates
in thread print lines which are not reverse duplicates

<puzzled>That still prints all the lines. How should $_ also contain the reverse of what it contains?</puzzled>


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^3: print lines which are not reverse duplicates
by hippo (Archbishop) on Nov 26, 2018 at 09:31 UTC

    The code in my post is not intended to be a solution, 1nickt, as it is functionally no different from that in the OP. It's an example of debugging/diagnosing the problem and is intended to set Maire on the path. Your question here is precisely what I was hoping that Maire would ask.