in reply to Pass a hash array to module

perldoc perlref