|
|
| go ahead... be a heretic | |
| PerlMonks |
passing hashes and hash referenceby sym® (Acolyte) |
| on Apr 20, 2001 at 16:47 UTC ( [id://74229]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.sym® has asked for the wisdom of the Perl Monks concerning the following question:
I want to pass a hash to a subroutine like: myroutine(%hash); Then have the routine create a reference to that hash and finally manipulate the referenced hash. Afterwards, %hash would contain the changes made in myroutine... Wy won't this work/what will work?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||