From the code you're not showing us, I can't make out any reason either. Most likely, somewhere in the code you keep well concealed from our prying eyes, you do the moral equivalent of:
my $foo = '0'; print $foo->{bar};
Maybe you want to show more relevant and coherent code, and tell us what is debug output and what is code?
In reply to Re: Can't use string ("0") as a HASH ref
by Corion
in thread Can't use string ("0") as a HASH ref
by kp2a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |