line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::EUMM::Migrate;
|
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
68442
|
use warnings;
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
56
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
App::EUMM::Migrate - Perl tool to migrate from ExtUtils::MakeMaker to Module::Build
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Version 0.12
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '0.12';
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
eumm-migrate is a tool to migrate from ExtUtils::MakeMaker to Module::Build.
|
22
|
|
|
|
|
|
|
It executes Makefile.PL with fake ExtUtils::MakeMaker and rewrites all parameters for
|
23
|
|
|
|
|
|
|
WriteMakefile into corresponding params of Module::Build->new. Calls to 'prompt' are also
|
24
|
|
|
|
|
|
|
intercepted and corresponding 'prompt' is written to Build.PL. All other info should be ported
|
25
|
|
|
|
|
|
|
manually.
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Just run eumm-migrate.pl in directory with Makefile.PL. If you use Github, Internet connection
|
28
|
|
|
|
|
|
|
is recommended.
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
eumm-migrate tries to automatically detect some properties like license, minimum Perl version
|
31
|
|
|
|
|
|
|
required and repository used.
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Alexandr Ciornii, C<< >>
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 BUGS
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through
|
43
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll
|
44
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes.
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SUPPORT
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command.
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
perldoc App::EUMM::Migrate
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
You can also look for information at:
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=over 4
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * CPAN Ratings
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * Search CPAN
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Copyright 2009-2021 Alexandr Ciornii.
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
GPL3
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
1; # End of App::EUMM::Migrate
|