in reply to subroutine - Passing Array Reference by Reference
This node has a good discussion on 'deep' copies. Pass by value acts like pass by reference
Edited by planetscape - minor formatting; fixed internal link