Who is Participating?

Invariable, most languages generate pointers confusion. Perl calls them references, but the confusion is just the same. The code below should do what I think you want. At least it demonstrates the concept.