File Coverage

blib/lib/Module/Install/Deprecated.pm
Criterion Covered Total %
statement 12 22 54.5
branch n/a
condition n/a
subroutine 4 9 44.4
pod 5 5 100.0
total 21 36 58.3


line stmt bran cond sub pod time code
1             package Module::Install::Deprecated;
2              
3 1     1   1109 use strict;
  1         2  
  1         24  
4 1     1   4 use Module::Install::Base ();
  1         1  
  1         16  
5              
6 1     1   4 use vars qw{$VERSION @ISA $ISCORE};
  1         2  
  1         66  
7             BEGIN {
8 1     1   4 $VERSION = '1.19';
9 1         20 @ISA = 'Module::Install::Base';
10 1         145 $ISCORE = 1;
11             }
12              
13              
14              
15              
16              
17             #####################################################################
18             # Previous API for Module::Install::Compoler
19              
20             sub c_files {
21 0     0 1   warn "c_files has been changed to cc_files to reduce confusion and keep all compiler commands as cc_";
22 0           shift()->cc_files(@_);
23             }
24              
25             sub inc_paths {
26 0     0 1   warn "inc_paths has been changed to cc_inc_paths due to confusion between Perl and C";
27 0           shift()->cc_inc_paths(@_);
28             }
29              
30             sub lib_paths {
31 0     0 1   warn "lib_paths has been changed to cc_lib_paths due to confusion between Perl and C";
32 0           shift()->cc_lib_paths(@_);
33             }
34              
35             sub lib_links {
36 0     0 1   warn "lib_links has been changed to cc_lib_links due to confusion between Perl and C";
37 0           shift()->cc_lib_links(@_);
38             }
39              
40             sub optimize_flags {
41 0     0 1   warn "optimize_flags has been changed to cc_optimize_flags for consistency reasons";
42 0           shift()->cc_optimize_flags(@_);
43             }
44              
45             1;
46              
47             __END__