This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
# mysql -h localhost test | |
# create table hoge (id int(10) auto_increment, hoge char(16), fuga char(16), t int(10), primary key (id)); | |
# insert into hoge (hoge, fuga, t) values ('aaa', 'xxx', UNIX_TIMESTAMP()), ('bbb', 'yyy', UNIX_TIMESTAMP()), ('ccc', 'zzz', UNIX_TIMESTAMP()); | |
package My::DB; | |
use DBIx::Skinny setup => +{ |