![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Sort labelby gryphon (Abbot) |
on Jul 17, 2005 at 21:59 UTC ( #475596=note: print w/replies, xml ) | Need Help?? |
Greetings celliott, I'm not sure I entirely follow what you're wanting to do, but if I'm understanding you correctly, this might help:
Instead of dealing with all the bind_param and bind_column stuff, I just selectall_arrayref into a reference, then foreach through that to populate %index. It seems to work for me, but I don't like it. It requires looping twice, which just feels like it would be slow. Plus, there's got to be a way to do this with a couple maps, but apparently I'm not smart enough to figure that out today. gryphon
In Section
Seekers of Perl Wisdom
|
|