Refer to the FAQ: perldoc -q "How do I compute the difference between two arrays?"
In reply to Re: Removing users from a list by BillKSmith in thread Removing users from a list by gossamer