- or download this
my $dbpath = 'C:/my/path/stats.db';
my $dsn = "dbi:SQLite:$dbpath";
my $dbh = DBI->connect( $dsn, '', '', { RaiseError => 1, AutoCommit =>
+ 1 } );
- or download this
package My::Schema;
...
__PACKAGE__->loader_options( relationships => 1 );
1;
- or download this
package My::Pkg;
...
my $dsn = "dbi:SQLite:$dbpath";
my $schema = My::Schema->connect( $dsn, '', '', { RaiseError => 1, Aut
+oCommit => 1 } );