in reply to Re^3: Sub hash param by referencein thread Sub hash param by reference
Thank you hippo, that is the absolute solutions "doSub2 (\$hrec_ref->{'id2'})" I am looking for. And sorry I missed out the "sub" keyword on declaring subroutine.