my %moduleHash= $_[0]{modHash};
That should be ... = %{ $_[0]{modHash} };
See perlreftut for an explanation
In reply to Re: How do I pass hash in subroutine with multiple parameters
by moritz
in thread How do I pass hash in subroutine with multiple parameters
by kkavitha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |