File Coverage

blib/lib/App/EUMM/Upgrade.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package App::EUMM::Upgrade;
2            
3 1     1   22951 use strict;
  1         3  
  1         38  
4 1     1   5 use warnings;
  1         2  
  1         65  
5            
6             =head1 NAME
7            
8             App::EUMM::Upgrade - Perl tool to upgrade ExtUtils::MakeMaker-based Makefile.PL
9            
10             =head1 VERSION
11            
12             Version 0.22
13            
14             =cut
15            
16             our $VERSION = '0.22';
17            
18            
19             =head1 SYNOPSIS
20            
21             eumm-upgrade is a tool to allow using new features of ExtUtils::MakeMaker without losing
22             compatibility with older versions. It adds compatibility code to Makefile.PL and
23             tries to automatically detect some properties like license, minimum Perl version required and
24             repository used.
25            
26             Just run eumm-upgrade.pl in directory with Makefile.PL. Old file will be copied to Makefile.PL.bak.
27             If you use Github, Internet connection is required.
28            
29             You need to check resulting Makefile.PL manually as transformation is done
30             with regular expressions.
31            
32             If you need to declare number of spaces in indent in Makefile.PL, use following string at start of
33             it (set 'c-basic-offset' to your value):
34            
35             # -*- mode: perl; c-basic-offset: 4; indent-tabs-mode: nil; -*-
36            
37             =head1 new EUMM features
38            
39             LICENSE - shows license on search.cpan.org
40            
41             META_MERGE - add something (like repository URL or bugtracker UTL) to META.yml. Repository and
42             bugtracker URL are used on search.cpan.org.
43            
44             MIN_PERL_VERSION - minimum version of Perl required for module work. Not used currently, but will
45             be in the future.
46            
47             CONFIGURE_REQUIRES - modules that are used in Makefile.PL and should be installed before running it.
48            
49             BUILD_REQUIRES - modules that are used in installation and testing, but are not required by module
50             itself. Useful for ppm/OS package generaton and metadata parsing tools.
51            
52             =head1 AUTHOR
53            
54             Alexandr Ciornii, C<< >>
55            
56             =head1 BUGS
57            
58             Please report any bugs or feature requests to C, or through
59             the web interface at L. I will be notified, and then you'll
60             automatically be notified of progress on your bug as I make changes.
61            
62            
63             =head1 SUPPORT
64            
65             You can find documentation for this module with the perldoc command.
66            
67             perldoc App::EUMM::Upgrade
68            
69            
70             You can also look for information at:
71            
72             =over 4
73            
74             =item * RT: CPAN's request tracker
75            
76             L
77            
78             =item * AnnoCPAN: Annotated CPAN documentation
79            
80             L
81            
82             =item * CPAN Ratings
83            
84             L
85            
86             =item * Search CPAN
87            
88             L
89            
90             =back
91            
92            
93             =head1 ACKNOWLEDGEMENTS
94            
95            
96             =head1 COPYRIGHT & LICENSE
97            
98             Copyright 2009 Alexandr Ciornii.
99            
100             GPL v3
101            
102             =cut
103            
104             1; # End of App::EUMM::Upgrade