in reply to intersection of N arrays

Would Set::Array meet your needs?

Replies are listed 'Best First'.
Re^2: intersection of N arrays
by melora (Scribe) on Jul 01, 2004 at 23:19 UTC
    I thought I'd try Set::Array for myself, but it in turn wants Want, which I downloaded as well. But an attempt to "use Want;" pukes "Can't locate loadable object for module Want in @INC (@INC contains: c:\perl\lib c:\perl\site\lib .)" on me.

    Yipes. This was after I put it into c:\perl\site\lib (and then into c:\perl\lib, with a shrug). Oddly enough, putting the Set::Array source into c:\perl\site\lib\Set\ seemed to make "use Set::Array;" work fine. It started spitting up when it in turn tried to use Want.

    So what am I missing? I couldn't find any installation notes on the CPAN pages for either Set::Array or Want. Please help.

    I don't mean to take this discussion off course, but just thought I'd explore one of the suggested solutions. I try to do this from time to time, simply out of curiosity and wanting to learn more and in hopes my brain will retain it (try to get new stuff in faster than the old stuff falls out).
      Unfortunately, I've never used Set::Array myself .. I just thought it looked effective for the OP's problem.

      You might want to start a new SoPW topic with this problem installing Want (and Set::Array?). I do notice that Set::Array does not show up on the "Module List" page of CPAN anymore, so maybe it's been abandoned. (I admit I don't know a whole lot of how CPAN is administered).

        Thanks for the info. It looked to me, too, like it would pretty easily solve the problem in question. I'm just having trouble with the hurdle of getting it going. It should be dynamite after that.