The stupid question is the question not asked | |
PerlMonks |
Re: accessing data structureby agianni (Hermit) |
on Nov 16, 2007 at 13:39 UTC ( [id://651196]=note: print w/replies, xml ) | Need Help?? |
Your main problem is that @{results} is not the same as @{$results}, which is what I think you're looking for. Always use strict and use warnings in your code and you'll get a warning (actually a fatal error) when you try to run code like this.
In Section
Seekers of Perl Wisdom
|
|