In Perl, you can't put an array inside another array, or a hash in an array, and so on. You have to use references to them instead.
Also, because the arguments to a function are an array, you can only give a single array or hash in the argument list unless you use references.