if (exists $options{papers_directory} and
defined $dbh
) {
+ $dbh->begin_work;
load_papers_into_database($dbh,$sth,$options{papers_directory});
+ $dbh->commit;
}
p %entries if $DEBUG;
if (keys %entries and
defined $dbh) {
+ $dbh->begin_work;
load_bibtex_entries_into_database($dbh,$sth,\%entries);
+ $dbh->commit;
}
p @ARGV if $DEBUG;