in reply to CPAN Module to determing overlap of 2 lists?

Set::Scalar is what you want I think.
  • Comment on Re: CPAN Module to determing overlap of 2 lists?

Replies are listed 'Best First'.
Re^2: CPAN Module to determing overlap of 2 lists?
by wazat (Monk) on Aug 11, 2020 at 00:06 UTC

    I'm not sure.

    Looking at Set::Scalar, I assume the set elements are unique (i.e. (a,b) insert a is still (a,b)), and that the elements are unordered (i.e. (a,b) = (b,a)).

    I my case the elements are ordered and duplicates are allowed.

    Have I misunderstood Set::Scalar ?