[Israel.pm] Sorting By MySQL DATETIME Fields?

Yuval Yaari yuval at windax.com
Wed Jun 16 02:14:49 PDT 2004


Hi,

I had a query that used JOIN and took too much time (4 seconds).
I figured Perl could handle it much faster, and so it did.

I am using 2 queries now.
At the end, I have an array of $sth->fetchrow_hashref() which I would
like to sort by date (since it's in 2 queries, I can't ORDER BY Date).

Is there a module or hack to do this?

  --Yuval




More information about the Perl mailing list