In addition to what perlplexer said, try moving your return outside the foreach loop :-)
What happened? I thought I wrote this right after perlplexer posted his reply. /me shrugs.
In reply to Re: subroutines - passing hashes by reference
by Mr. Muskrat
in thread subroutines - passing hashes by reference
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |