line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CPAN::Index::Package; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
5540
|
use strict; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
196
|
|
4
|
5
|
|
|
5
|
|
30
|
use base 'DBIx::Class'; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
514
|
|
5
|
5
|
|
|
5
|
|
4732
|
use version (); |
|
5
|
|
|
|
|
12888
|
|
|
5
|
|
|
|
|
148
|
|
6
|
|
|
|
|
|
|
|
7
|
5
|
|
|
5
|
|
35
|
use vars qw{$VERSION}; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
208
|
|
8
|
|
|
|
|
|
|
BEGIN { |
9
|
5
|
|
|
5
|
|
764
|
$VERSION = '0.01'; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__PACKAGE__->load_components('Core'); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->table('package'); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
17
|
|
|
|
|
|
|
name => { |
18
|
|
|
|
|
|
|
data_type => 'varchar', |
19
|
|
|
|
|
|
|
size => 255, |
20
|
|
|
|
|
|
|
is_nullable => 0, |
21
|
|
|
|
|
|
|
is_auto_increment => 0, |
22
|
|
|
|
|
|
|
default_value => '', |
23
|
|
|
|
|
|
|
}, |
24
|
|
|
|
|
|
|
version => { |
25
|
|
|
|
|
|
|
accessor => 'version_string', |
26
|
|
|
|
|
|
|
data_type => 'varchar', |
27
|
|
|
|
|
|
|
size => 32, |
28
|
|
|
|
|
|
|
is_nullable => 1, |
29
|
|
|
|
|
|
|
is_auto_increment => 0, |
30
|
|
|
|
|
|
|
default_value => '', |
31
|
|
|
|
|
|
|
}, |
32
|
|
|
|
|
|
|
path => { |
33
|
|
|
|
|
|
|
data_type => 'varchar', |
34
|
|
|
|
|
|
|
size => 255, |
35
|
|
|
|
|
|
|
is_nullable => 0, |
36
|
|
|
|
|
|
|
is_auto_increment => 0, |
37
|
|
|
|
|
|
|
default_value => '', |
38
|
|
|
|
|
|
|
}, |
39
|
|
|
|
|
|
|
); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('name'); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub version { |
44
|
1
|
|
|
1
|
1
|
22519
|
my $self = shift; |
45
|
1
|
|
|
|
|
41
|
my $value = $self->version_string(@_); |
46
|
1
|
50
|
|
|
|
152
|
defined($value) ? version->new($value) : undef; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
__END__ |