Newer Older
19 lines | 0.261kb
added Next version
Yuki Kimoto authored on 2011-11-16
1
package MyDBI1;
2

            
3
use strict;
4
use warnings;
5

            
6
use base 'DBIx::Custom::Next';
7

            
8
sub connect {
9
    my $self = shift->SUPER::connect(@_);
10
    
11
    $self->include_model(
12
        MyModel1 => [
13
            $self->table1,
14
            $self->table2
15
        ]
16
    );
17
}
18

            
19
1;