in reply to Re^2: passing reference to subroutine
in thread passing reference to subroutine

It's worth the time to have a look at perlreftut -- the simple reference tutorial :)