1 package Module::Install::Deprecated;
4 use Module::Install::Base ();
6 use vars qw{$VERSION @ISA $ISCORE};
9 @ISA = 'Module::Install::Base';
17 #####################################################################
18 # Previous API for Module::Install::Compoler
21 warn "c_files has been changed to cc_files to reduce confusion and keep all compiler commands as cc_";
22 shift()->cc_files(@_);
26 warn "inc_paths has been changed to cc_inc_paths due to confusion between Perl and C";
27 shift()->cc_inc_paths(@_);
31 warn "lib_paths has been changed to cc_lib_paths due to confusion between Perl and C";
32 shift()->cc_lib_paths(@_);
36 warn "lib_links has been changed to cc_lib_links due to confusion between Perl and C";
37 shift()->cc_lib_links(@_);
41 warn "optimize_flags has been changed to cc_optimize_flags for consistency reasons";
42 shift()->cc_optimize_flags(@_);
53 Module::Install::Deprecated - Warnings and help for deprecated commands
57 One of the nicest features of L<Module::Install> is that as it improves,
58 there is no need to take into account user compatibility, because users do
59 not need to install L<Module::Install> itself.
61 As a result, the L<Module::Install> API changes at a faster rate than usual,
62 and this results in deprecated commands.
64 C<Module::Install::Deprecated> provides implementations of the deprecated
65 commands, so that when an author is upgrading their L<Module::Install> and
66 they are using a deprecated command they will be told that the command has
67 been deprecated, and what the author should use instead.
69 This extension should NEVER end up bundled into the distribution tarball.
75 The C<c_files> command has been changed to C<cc_files> to reduce confusion
76 and keep all compiler commands within a consistent C<ff_foo> naming scheme.
80 The C<inc_paths> command has been changed to C<cc_inc_paths> due to
81 confusion between Perl and C.
85 The C<lib_paths> command has been changed to C<cc_lib_paths> due to confusion
90 The C<lib_links> command has been changed to C<cc_lib_links> due to confusion
95 The C<optimize_flags> command has been changed to C<cc_optimize_flags> for
100 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
108 Copyright 2006 Adam Kennedy.
110 This program is free software; you can redistribute it and/or modify it
111 under the same terms as Perl itself.
113 See L<http://www.perl.com/perl/misc/Artistic.html>