We don't bite newbies here... much | |
PerlMonks |
Re: data stucturesby socketdave (Curate) |
on Sep 23, 2005 at 16:41 UTC ( [id://494598]=note: print w/replies, xml ) | Need Help?? |
Replace the {} in your hash definition with ()... If you wanted a hashref, you would use {}, but assign to a scalar: update: Thanks to ikegami for pointing out the bigger problem with your code. The change I suggested will definitely fix your warning but will definitely not make your code do what you expect.
In Section
Seekers of Perl Wisdom
|
|