line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::Dist; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
663
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
23
|
|
5
|
1
|
|
|
1
|
|
844
|
use Perl::Dist::Inno (); |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use vars qw{$VERSION @ISA}; |
8
|
|
|
|
|
|
|
BEGIN { |
9
|
|
|
|
|
|
|
$VERSION = '1.16'; |
10
|
|
|
|
|
|
|
@ISA = 'Perl::Dist::Inno'; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=pod |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Perl::Dist - Perl Distribution Creation Toolkit |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 DESCRIPTION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
The Perl::Dist namespace encompasses creation of pre-packaged, binary |
24
|
|
|
|
|
|
|
distributions of Perl, primarily as executable installers for Win32. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Packages in this namespace include both "builders" and "distributions". |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Builder packages automate the generation of distributions. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Distribution packages contain configuration files for a particular builder, |
31
|
|
|
|
|
|
|
extra files to be bundled with the pre-packaged binary, and documentation. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Distribution namespaces are also recommended to consolidate bug reporting |
34
|
|
|
|
|
|
|
using http://rt.cpan.org/. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
I
|
37
|
|
|
|
|
|
|
themselves.> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 BUILDERS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
At the present time the primarily builder module is L. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 DISTRIBUTIONS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Currently available distributions include: |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
L -- An experimental "core Perl" distribution intended |
52
|
|
|
|
|
|
|
for distribution developers. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
L -- A practical Win32 Perl release for |
57
|
|
|
|
|
|
|
experienced Perl developers familiar with Perl on Unix environments |
58
|
|
|
|
|
|
|
with full CPAN capabilities. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Strawberry Perl is considered stable, and can be downloaded from the |
61
|
|
|
|
|
|
|
Strawberry Perl website at L. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L -- A concept distribution that bundled a large |
66
|
|
|
|
|
|
|
"standard library" collection of CPAN modules, and provides a variety of |
67
|
|
|
|
|
|
|
WxWindows-based GUI tools. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
L -- Bootstrap Perl is a Perl 5.8.8 distribution |
72
|
|
|
|
|
|
|
designed for people that are themselves creating Perl distributions. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
It installs to a disk location out of the way and not used by any "end-user" |
75
|
|
|
|
|
|
|
distributions, and comes with Perl::Dist and support modules pre-bundled. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=back |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 ROADMAP |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L, based on Inno Setup, is working well, but has a |
82
|
|
|
|
|
|
|
limited lifespace, as it is not capable of produces Windows native |
83
|
|
|
|
|
|
|
.msi installer files. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Ultimately this means that Perl::Dist will see the additional of an |
86
|
|
|
|
|
|
|
alternative module based on Nullsoft or Wix that allows the creation |
87
|
|
|
|
|
|
|
of .msi files (a major feature for corporate users). |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Various other features are able to be implemented within the Inno Setup |
90
|
|
|
|
|
|
|
feature set, and include: |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=over |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=item * |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Bug-squashing Win32 compatibility problems in popular modules |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Customisable installation path. |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=item * |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Support installation paths with spaces and other weird characters. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=item * |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Restore support for .exe installation instead of .zip. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=item * |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Better uninstall support and upgradability. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=back |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head1 SUPPORT |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Bugs should be reported via the CPAN bug tracker at |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
L |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head1 AUTHORS |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
Adam Kennedy |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
David A. Golden |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head1 COPYRIGHT |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Copyright 2007 - 2009 Adam Kennedy. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Copyright 2006 David A. Golden. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
This program is free software; you can redistribute |
135
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The full text of the license can be found in the |
138
|
|
|
|
|
|
|
LICENSE file included with this module. |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head1 SEE ALSO |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
L, L, |
143
|
|
|
|
|
|
|
L, L, |
144
|
|
|
|
|
|
|
L, L, |
145
|
|
|
|
|
|
|
L, L |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |