http://qs1969.pair.com?node_id=718519


in reply to Re: Trying to remove duplicate rows using hashes
in thread Trying to remove duplicate rows using hashes

oh - well i guess I just cut and paste those from other scripts - but yes in this instance i guess they are rather redundant. EDIT: what do you mean by the "stomping"?
  • Comment on Re^2: Trying to remove duplicate rows using hashes

Replies are listed 'Best First'.
Re^3: Trying to remove duplicate rows using hashes
by jettero (Monsignor) on Oct 21, 2008 at 18:07 UTC
    EDIT: what do you mean by the "stomping"?

    I'm sure others have already answers this...

    I mean that your second each call is overwriting your $k2 value so your next call to each is operating on the value you replace $k2 with instead of the hashref you mean to have there.

    Stomping is a colloquial expression, by which I mean to stay "accidentally replacing" or "stepping on."

    -Paul