Hey, I hope someone can help me in calculating this: My goal is to pass an array, @arr1 = ("A", "C") to a subroutine, and using another array, @arr2 = ("B.aID = A.ID", "D.ID = A.dID", "C.ID = B.cID", "E.cID = C.ID"), use that to then simplify @arr2 to get @arr3 = ("B = A", "D = A", "C = B", "E = C"), and then find any related elements in @arr3 to get @arr4 = ("A = B = C", "B = C = E", "D = A = B"), ------- ie,
find what A equals, A = B A = D find what C equals, C = B C = E find any similarities, both contain B, so, return A, B, C ------- I apologize ahead for any confusions/headaches, if you can help me, that would be great! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/