in reply to subroutine - Passing Array Reference by Reference
intro to references and References quick reference and must-read and must-bookmark nodes. :-)
HTH,