Biblio-Thesaurus-SQLite
view release on metacpan or search on metacpan
lib/Biblio/Thesaurus/SQLite.pm view on Meta::CPAN
}
}
close(F);
}
##
# this method tries to output the result of a term as a xhtml table
# maybe to use with a cgi module
# @param the term to find data
# @param the sqlite database file
sub getTermAsXHTML {
my $termo = shift or die;
my $dbfile = shift or die;
# connect to the database
my $db = DBIx::Simple->connect('dbi:SQLite:' . $dbfile)
or die DBIx::Simple->error;
# try to see if we got any results avaiable
my $count;
$db->query(
( run in 0.345 second using v1.01-cache-2.11-cpan-87723dcf8b7 )