The answer to you question would be more clear if we knew what $hashref looks like and the value of $type when it fails.
In reply to Re: Not a HASH reference error
by perlfan
in thread Not a HASH reference error
by briandanderson1977
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |