This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Comply with the 0x80th commandment
[perl5.git] / lib / ExtUtils / MY.pm
1 package ExtUtils::MY;
2
3 use strict;
4 require ExtUtils::MM;
5
6 use vars qw(@ISA $VERSION);
7 $VERSION = 0.01;
8 @ISA = qw(ExtUtils::MM);
9
10 {
11     package MY;
12     use vars qw(@ISA);
13     @ISA = qw(ExtUtils::MY);
14 }
15
16 sub DESTROY {}
17
18
19 =head1 NAME
20
21 ExtUtils::MY - ExtUtils::MakeMaker subclass for customization
22
23 =head1 SYNOPSIS
24
25   # in your Makefile.PL
26   sub MY::whatever {
27       ...
28   }
29
30 =head1 DESCRIPTION
31
32 B<FOR INTERNAL USE ONLY>
33
34 ExtUtils::MY is a subclass of ExtUtils::MM.  Its provided in your
35 Makefile.PL for you to add and override MakeMaker functionality.
36
37 It also provides a convenient alias via the MY class.
38
39 ExtUtils::MY might turn out to be a temporary solution, but MY won't
40 go away.
41
42 =cut