line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Boxer::World; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=encoding UTF-8 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Boxer::World - set of software available to install |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
6
|
|
|
6
|
|
4045
|
use v5.14; |
|
6
|
|
|
|
|
26
|
|
12
|
6
|
|
|
6
|
|
33
|
use utf8; |
|
6
|
|
|
|
|
19
|
|
|
6
|
|
|
|
|
35
|
|
13
|
6
|
|
|
6
|
|
210
|
use Role::Commons -all; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
44
|
|
14
|
6
|
|
|
6
|
|
11137
|
use namespace::autoclean 0.16; |
|
6
|
|
|
|
|
107
|
|
|
6
|
|
|
|
|
37
|
|
15
|
6
|
|
|
6
|
|
456
|
use autodie; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
41
|
|
16
|
|
|
|
|
|
|
|
17
|
6
|
|
|
6
|
|
32341
|
use Moo; |
|
6
|
|
|
|
|
21
|
|
|
6
|
|
|
|
|
106
|
|
18
|
6
|
|
|
6
|
|
3016
|
use MooX::StrictConstructor; |
|
6
|
|
|
|
|
15
|
|
|
6
|
|
|
|
|
81
|
|
19
|
6
|
|
|
6
|
|
5793
|
use Types::Standard qw( ArrayRef InstanceOf Maybe ); |
|
6
|
|
|
|
|
61
|
|
|
6
|
|
|
|
|
87
|
|
20
|
6
|
|
|
6
|
|
5864
|
use Boxer::Types qw( DataDir ); |
|
6
|
|
|
|
|
18
|
|
|
6
|
|
|
|
|
63
|
|
21
|
|
|
|
|
|
|
with qw(MooX::Role::Logger); |
22
|
|
|
|
|
|
|
|
23
|
6
|
|
|
6
|
|
2735
|
use strictures 2; |
|
6
|
|
|
|
|
43
|
|
|
6
|
|
|
|
|
253
|
|
24
|
6
|
|
|
6
|
|
1126
|
no warnings "experimental::signatures"; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
700
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 VERSION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Version v1.4.1 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
our $VERSION = "v1.4.1"; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Outside the box is a world of software. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
B<Boxer::World> is a class describing a collection of software |
39
|
|
|
|
|
|
|
available for installation into (or as) an operating system. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SEE ALSO |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
L<Boxer>. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
has data => ( |
48
|
|
|
|
|
|
|
is => 'lazy', |
49
|
|
|
|
|
|
|
isa => Maybe [DataDir], |
50
|
|
|
|
|
|
|
coerce => 1, |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
has parts => ( |
54
|
|
|
|
|
|
|
is => 'ro', |
55
|
|
|
|
|
|
|
isa => ArrayRef [ InstanceOf ['Boxer::Part'] ], |
56
|
|
|
|
|
|
|
required => 1, |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Jonas Smedegaard C<< <dr@jones.dk> >>. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:JONASS'; |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENCE |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Copyright © 2013-2016 Jonas Smedegaard |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
72
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTIES |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED |
77
|
|
|
|
|
|
|
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
78
|
|
|
|
|
|
|
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
1; |