Just another Perl shrine | |
PerlMonks |
Re^2: Relationships of Matching Setsby biosysadmin (Deacon) |
on Dec 17, 2004 at 01:48 UTC ( [id://415526]=note: print w/replies, xml ) | Need Help?? |
Great idea, this was the first module that came to my mind. Also, if you'd like to explore your ideas on "close matching," try subclassing Set::Scalar. It seems like it might be difficult to define a general solution for "almost matching" in terms of sets but you could certainly implement specific solutions easily by adding the methods you want to a subclass of Set::Scalar (and leave the union, symmetric_difference, etc. in the original class definition).
Best of luck. :)
In Section
Seekers of Perl Wisdom
|
|