in reply to orphaned users

Welcome to the monastery, wap.

The statement @uniqueElements = grep |e $eval{lc $_} @uid2; is not valid syntax. Perhaps you could explain what you understand this line to be doing?

You also need a closing </code> tag in your post in order to make it legible. See How do I change/delete my post?