Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Reference Exampleby CukiMnstr (Deacon) |
on May 20, 2002 at 17:11 UTC ( [id://167876]=note: print w/replies, xml ) | Need Help?? |
The other replies already have covered where the error is in your code, as well as some style advice (arrow operator and such), so I won't repeat any of that. But I think you might want to check References quick reference by tye, it will help you understand the relationship between $$foo{$bar}, $foo->{$bar}, ${$foo}{$bar}... (I know it helped me ;)
hope this helps,
In Section
Seekers of Perl Wisdom
|
|