It looks like you really want to return a reference to a hash rather than the hash itself, so a return \%dbReturn; at the end of your subroutine should do it.
Also keep in mind that $dbReturn bears no relation to %dbReturn. You seem to be conflating the two.
In reply to Re: Returning Hashes
by duff
in thread Returning Hashes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |