in reply to Passing two arrays to a subroutine

This is discussed in the Perl documentation: perlsub -> Pass by Reference