ModPerl::BuildMM -- A "subclass" of ModPerl::MM used for building mod_perl 2.0
use ModPerl::BuildMM; # ModPerl::BuildMM takes care of doing all the dirty job of overriding ModPerl::BuildMM::WriteMakefile(...); # if there is a need to extend the methods sub MY::postamble { my $self = shift; my $string = $self->ModPerl::BuildMM::MY::postamble; $string .= "\nmydist : manifest tardist\n"; return $string; }
ModPerl::BuildMM is a "subclass" of ModPerl::MM used for building mod_perl 2.0. Refer to ModPerl::MM manpage.
ModPerl::BuildMM
ModPerl::MM
ModPerl::BuildMM overrides the following methods:
ModPerl::BuildMM::MY::constants
ModPerl::BuildMM::MY::top_targets
ModPerl::BuildMM::MY::postamble
ModPerl::BuildMM::MY::post_initialize
ModPerl::BuildMM::MY::libscan
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.