in_array() in Perl?

just a note for me: Perl references