Sorry, this makes no sense. If the sub returns a reference to a hash, just dereference it and pass the hash. You can easily convert between scalar and reference. I suggest looking at this.
In reply to Re^3: Global variable unexpectedly modified when passed by reference
by GotToBTru
in thread Global variable unexpectedly modified when passed by reference
by fshrewsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |