That seems to be a strong indication that fetching the data via DBI is not a problem at all (and neither is the SQL itself). Could it be that the cleaner subroutine is the slowest part?
What is cleaner doing? If this is a simple operation you could try to do it in SQL directly and select the clean value. That should speed things up.
In reply to Re: Efficiency on Code
by Thilosophy
in thread Efficiency on Code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |