in reply to Need advice on hashes and methods
perldoc -q 'difference of two arrays', which will lead you to perlfaq4.