App-Chronicle
view release on metacpan or search on metacpan
bin/chronicle view on Meta::CPAN
database then insert it.
We also handle the case where the file on disk is newer than the database
version - in that case we remove the database version and update it to
contain the newer content.
=end doc
=cut
sub updateDatabase
{
my ($dbh) = (@_);
#
# Assume each entry is already present in the database.
#
my $sql =
$dbh->prepare("SELECT id FROM blog WHERE ( file=? AND mtime=? )") or
die "Failed to select post";
( run in 0.466 second using v1.01-cache-2.11-cpan-0d8aa00de5b )