How can I pass an array into a sub which then passes it into another sub?

I can pass one array into a sub, but when I try to take that, it gives me an error...