|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Iterating though an array of objectsby moritz (Cardinal) |
| on Aug 27, 2012 at 12:35 UTC ( #989979=note: print w/ replies, xml ) | Need Help?? |
|
You should really format your code better (one indetion level per opneing brace, see perlstyle), it is very hard to read as is. Maybe the problem becomes visible then? One obvious problem is:
The scores method expcets a flat list, but you pass an array reference to it. Also dubious:
Why catch errors with eval if all you do is rethrowing them?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||