On Wed, 10 Apr 2002, Mark Fowler wrote: > On Wed, 10 Apr 2002, Curt Sampson wrote: > > eq_set() is really bag comparison.
Well, my point was, it *is* a set comparison if you pass it sets. The problem, in my view, is that perl lets you pass it something which is not a set. Thus, it seems perfectly fair to me for it to produce undefined behaviour under such circumstances. > I want a test which returns true iff > for every item in two lists there exists an item in the other list that > is identical. Ah, so you want to be able to pass it a bag, and have it turn the bag into a set. :-) Not that this discussion is really going to go anywhere; I guess a reasonable case can be made for each point of view. cjs -- Curt Sampson <[EMAIL PROTECTED]> +81 90 7737 2974 http://www.netbsd.org Don't you know, in this new Dark Age, we're all light. --XTC