Palmer, 2E0EOL committed 2bfad86

Create an empty database, and get a handle for it.

Comments (0)

Files changed (2)

- liburi-perl
+ liburi-perl,
+ libdbd-sqlite3-perl
 Description: Podcast downloader and management system
  Daybo Logic's podcast system keeps track of new podcasts posted on an RSS
  feed and downloads whatever you do not yet have, checking file lengths
 use Daybo::ConfReader;
 use Getopt::Std;
 use URI::Escape;
+use DBI;
 use strict;
 use warnings;
 use diagnostics;
 	return $V;
+sub DB() {
+	my $dbh = DBI->connect("DBI:SQLite:$ENV{HOME}/.dlpodget.db");
+	die Dumper $dbh;
 sub main()
 	my $conf;
+	my $db = DB();
 	foreach my $feedName ( keys(%feeds) ) {
 		my $feed = $feeds{$feedName};
 		next if ( !$feed->{enable} );