in reply to Can't use string ("0") as a HASH ref
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't use string ("0") as a HASH ref
by kp2a (Sexton) on Sep 28, 2008 at 18:33 UTC | |
by Corion (Patriarch) on Sep 28, 2008 at 18:46 UTC | |
by kp2a (Sexton) on Sep 28, 2008 at 22:47 UTC | |
by AnomalousMonk (Archbishop) on Sep 29, 2008 at 01:54 UTC | |
by pjotrik (Friar) on Sep 28, 2008 at 22:36 UTC |