in reply to Assignments for Subroutines

Write a subroutine (&evens) that recieves an array ...

None of those subroutines receive arrays, http://perldoc.perl.org/perlintro.html#Writing-subroutines