Hey, I hope someone can help me in calculating this:
My goal is to pass an array, @[EMAIL PROTECTED]
= ("A", "C") to a subroutine, and
using another array, @[EMAIL PROTECTED]
= ("B.aID = A.ID", "D.ID = A.dID", "C.ID =
B.cID", "E.cID = C.ID"), use that to then
simplify @[EMAIL PROTECTED]
to get @[EMAIL PROTECTED]
= ("B = A", "D = A", "C = B", "E = C"),
and then
find any related elements in @[EMAIL PROTECTED]
to get @[EMAIL PROTECTED]
= ("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!


|