ModPerl::MMModPerl::MM is a 'subclass' of ExtUtils::MakeMaker for mod_perl 2.0. | |
Download |
ModPerl::MM Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Philip M. Gollucci
- Publisher web site:
- http://search.cpan.org/~pgollucci/mod_perl-2.0.3/docs/api/ModPerl/MM.pod
ModPerl::MM Tags
ModPerl::MM Description
ModPerl::MM is a 'subclass' of ExtUtils::MakeMaker for mod_perl 2.0. ModPerl::MM is a "subclass" of ExtUtils::MakeMaker for mod_perl 2.0.Synopsis use ModPerl::MM; # ModPerl::MM takes care of doing all the dirty job of overriding ModPerl::MM::WriteMakefile(...); # if there is a need to extend the default methods sub MY::constants { my $self = shift; $self->ModPerl::MM::MY::constants; # do something else; } # or prevent overriding completely sub MY::constants { shift->MM::constants(@_); }"; # override the default value of WriteMakefile's attribute my $extra_inc = "/foo/include"; ModPerl::MM::WriteMakefile( ... INC => $extra_inc, ... ); # extend the default value of WriteMakefile's attribute my $extra_inc = "/foo/include"; ModPerl::MM::WriteMakefile( ... INC => join " ", $extra_inc, ModPerl::MM::get_def_opt('INC'), ... );ModPerl::MM is a "subclass" of ExtUtils::MakeMaker for mod_perl 2.0, to a degree of sub-classability of ExtUtils::MakeMaker.When ModPerl::MM::WriteMakefile() is used instead of ExtUtils::MakeMaker::WriteMakefile(), ModPerl::MM overrides several ExtUtils::MakeMaker methods behind the scenes and supplies default WriteMakefile() arguments adjusted for mod_perl 2.0 build. It's written in such a way so that normally 3rd party module developers for mod_perl 2.0, don't need to mess with Makefile.PL at all. Requirements: · Perl
ModPerl::MM Related Software