in reply to Re: Removing duplicates in multi-dimensional arrays
in thread Removing duplicates in multi-dimensional arrays

That actually worked. I apologize for not being more verbose with the data.

In the examples that I played with, I was trying $_2 vs $_->2 and getting all blanks.

I appreciate your reply.

  • Comment on Re^2: Removing duplicates in multi-dimensional arrays

Replies are listed 'Best First'.
Re^3: Removing duplicates in multi-dimensional arrays
by AnomalousMonk (Archbishop) on Oct 03, 2018 at 16:47 UTC

    Your post is a little bit difficult to read because "$_2 vs $_->2" is rendered a bit confusingly without  <code> tags. Please see Writeup Formatting Tips and Markup in the Monastery. You've already employed code-tags to good effect in your OP; you only need to be more thorough in their use.

    As an aside: Do you understand the difference between $_[2] and $_->[2]?

    And please do read and follow the principles discussed in the SSCCE article.


    Give a man a fish:  <%-{-{-{-<