line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::innoextract; |
2
|
|
|
|
|
|
|
$Alien::innoextract::VERSION = '0.01'; |
3
|
1
|
|
|
1
|
|
279818
|
use strict; |
|
1
|
|
|
|
|
11
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
5
|
1
|
|
|
1
|
|
6
|
use base qw( Alien::Base ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
575
|
|
6
|
1
|
|
|
1
|
|
5346
|
use 5.008004; |
|
1
|
|
|
|
|
4
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub exe { |
9
|
1
|
|
|
1
|
0
|
533
|
return 'innoextract' |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub alien_helper { |
13
|
1
|
|
|
1
|
1
|
37391
|
my ($class) = @_; |
14
|
|
|
|
|
|
|
return +{ |
15
|
|
|
|
|
|
|
innoextract => sub { |
16
|
0
|
|
|
0
|
|
|
$class->exe; |
17
|
|
|
|
|
|
|
}, |
18
|
1
|
|
|
|
|
61
|
}; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Alien::innoextract - Find or build innoextract |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Command line tool: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
use Alien::innoextract; |
33
|
|
|
|
|
|
|
use Env qw( @PATH ); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
unshift @PATH, Alien::innoextract->bin_dir; |
36
|
|
|
|
|
|
|
system "@{[ Alien::innoextract->exe ]}"; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This distribution provides innoextract so that it can be used by other |
41
|
|
|
|
|
|
|
Perl distributions that are on CPAN. It does this by first trying to |
42
|
|
|
|
|
|
|
detect an existing install of innoextract on your system. If found it |
43
|
|
|
|
|
|
|
will use that. If it cannot be found, the source code will be downloaded |
44
|
|
|
|
|
|
|
from the internet and it will be installed in a private share location |
45
|
|
|
|
|
|
|
for the use of other modules. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 HELPERS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 innoextract |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
%{innoextract} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Returns 'innoextract'. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SEE ALSO |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=over 4 |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item L |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Documentation on the Alien concept itself. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item L |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
The base class for this Alien. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item L |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Detailed manual for users of Alien classes. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=back |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |