Perl Monks,
I am using timestamp with DBI::MySQL for the first time. I need to add entries to MySQL using hostname and timestamp. Before I add an entry, I need to check if the entry's timestamp is higher than the entries in MySQL. What is the best way to do this? Should I select all the entries by hostname and compare the timestamps in Perl or can I do the compare in MySQL and use the rows returned to determine if it is newer? Thanks in advance!