The Perl model for function call and return values is simple: all functions are passed as parameters one single flat list of scalars, and all functions likewise return ...
perldoc.perl.org