in reply to HOW Can I pass the array into my subroutine?
Exactly like that. Are you having specific trouble?