I ++'ed this because he is absolutely right, about 90% of
the time, you should be doing your date compares in SQL.
Data in a DB should be tested in a DB whereever possible
just to lower the amount of network traffic you impose on
the system.
--
$you = new YOU;
honk() if $you->love(perl)