Changeset 15 in bookmarks for trunk/BookmarkApp.pm
- Timestamp:
- 02/09/13 21:02:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkApp.pm
r13 r15 6 6 use CGI::Application::Plugin::TT; 7 7 8 use DBI;9 8 use Encode; 10 9 use JSON; … … 18 17 $base_uri->path($ENV{SCRIPT_NAME} . '/'); 19 18 20 my $dbname = 'new.db'; 21 my $dbh = DBI->connect("dbi:SQLite:dbname=$dbname", "", "", { RaiseError => 1 }); 19 my $dbname = 'fk.db'; 22 20 my $bookmarks = Bookmarks->new({ 23 db h => $dbh,21 dbname => $dbname, 24 22 base_uri => $base_uri->canonical, 25 23 });
Note: See TracChangeset
for help on using the changeset viewer.