line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CPAN::Diff::Module; |
2
|
1
|
|
|
1
|
|
6
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
has name => (is => 'rw', required => 1); |
5
|
|
|
|
|
|
|
has local_version => (is => 'rw'); |
6
|
|
|
|
|
|
|
has cpan_version => (is => 'rw'); |
7
|
|
|
|
|
|
|
has cpan_dist => (is => 'rw'); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
1; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=encoding utf-8 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
CPAN::Diff::Module - Object representing module metadata |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 SYNOPSIS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
use CPAN::Diff::Module; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
my $module = CPAN::Diff::Module->new( |
22
|
|
|
|
|
|
|
name => 'Acme::Color', |
23
|
|
|
|
|
|
|
local_version => '0.01', |
24
|
|
|
|
|
|
|
cpan_version => '0.02', |
25
|
|
|
|
|
|
|
cpan_dist => $dist, # a CPAN::DistnameInfo object |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
$module->name; |
29
|
|
|
|
|
|
|
$module->local_version; |
30
|
|
|
|
|
|
|
$module->cpan_version; |
31
|
|
|
|
|
|
|
$module->cpan_dist; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Object representing module metadata. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 LICENSE |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Copyright (C) Eric Johnson. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
44
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Eric Johnson Eeric.git@iijo.orgE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |