line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::BrewBuild::Constant; |
2
|
35
|
|
|
35
|
|
249
|
use strict; |
|
35
|
|
|
|
|
90
|
|
|
35
|
|
|
|
|
1070
|
|
3
|
35
|
|
|
35
|
|
190
|
use warnings; |
|
35
|
|
|
|
|
74
|
|
|
35
|
|
|
|
|
1650
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.21'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
require Exporter; |
8
|
35
|
|
|
35
|
|
552
|
use base qw( Exporter ); |
|
35
|
|
|
|
|
87
|
|
|
35
|
|
|
|
|
7196
|
|
9
|
|
|
|
|
|
|
our @EXPORT_OK = (); |
10
|
|
|
|
|
|
|
our %EXPORT_TAGS = (all => \@EXPORT_OK); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use constant { |
13
|
35
|
|
|
|
|
6132
|
INSTANCE_INSTALL_TIMEOUT => 600, |
14
|
|
|
|
|
|
|
MIN_PERL_VER => '5.8.1', |
15
|
|
|
|
|
|
|
REPO_PREFIX => 'https://github.com/', |
16
|
|
|
|
|
|
|
BERRYBREW_LINK => 'https://github.com/stevieb9/berrybrew', |
17
|
|
|
|
|
|
|
PERLBREW_LINK => 'http://perlbrew.pl', |
18
|
|
|
|
|
|
|
BERRYBREW => 'berrybrew.exe', |
19
|
|
|
|
|
|
|
PERLBREW => 'perlbrew', |
20
|
35
|
|
|
35
|
|
306
|
}; |
|
35
|
|
|
|
|
111
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
{ |
23
|
|
|
|
|
|
|
my @const = qw( |
24
|
|
|
|
|
|
|
INSTANCE_INSTALL_TIMEOUT |
25
|
|
|
|
|
|
|
MIN_PERL_VER |
26
|
|
|
|
|
|
|
REPO_PREFIX |
27
|
|
|
|
|
|
|
BERRYBREW_LINK |
28
|
|
|
|
|
|
|
PERLBREW_LINK |
29
|
|
|
|
|
|
|
BERRYBREW |
30
|
|
|
|
|
|
|
PERLBREW |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
push @EXPORT_OK, @const; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
1; |