|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Answer: How Do I pass a hash to a subroutine?by choroba (Cardinal) |
| on Nov 28, 2012 at 22:13 UTC ( [id://1006119]=note: print w/replies, xml ) | Need Help?? |
|
Calling a subroutine with & ignores prototypes. Also, in order to make prototypes work, you must declare the subroutine before calling it.
Moreover, you are posting to the Answers section, while you probably wanted to reply to one of the answers.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||