Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl;
- #DB.pm
- package DB;
- use DBIx::Skinny connect_info => +{
- dsn => 'dbi:mysql:deafnews:localhost',
- username => 'root',
- password => 'password',
- connect_options => +{
- RaiseError => 1,
- PrintError => 0,
- AutoCommit => 1,
- },
- };
- 1;
- package DB::Schema;
- use DBIx::Skinny::Schema;
- install_table deaf_news => schema {
- pk 'id';
- columns qw/id title keyword url bitly_url publisher publisheddate flag created_at updated_at/;
- };
- 1;
Add Comment
Please, Sign In to add comment