line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DBIx::Class::Candy::Exports; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Create sugar for your favorite ORM, DBIx::Class |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
8
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
59
|
|
6
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
225
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.002107'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our %methods; |
11
|
|
|
|
|
|
|
our %aliases; |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
1
|
|
sub export_methods { $methods{scalar caller(0)} = $_[0] } |
14
|
0
|
|
|
0
|
1
|
|
sub export_method_aliases { $aliases{scalar caller(0)} = $_[0] } |
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
|
|
22
|
use Sub::Exporter -setup => { |
17
|
|
|
|
|
|
|
exports => [ qw(export_methods export_method_aliases) ], |
18
|
|
|
|
|
|
|
groups => { default => [ qw(export_methods export_method_aliases) ] }, |
19
|
2
|
|
|
2
|
|
12
|
}; |
|
2
|
|
|
|
|
2
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |