SPUG: Re: [MM] MM_Unix mod needed?

Nick Ing-Simmons nik at tiuk.ti.com
Wed Jan 26 08:50:05 CST 2000


Brian Schieber <schieb at cobaltgroup.com> writes:
>Hi,
> I want to change MakeMaker so that subdirectories do not inherit the 
> INSTALLSITELIB installation path from the parent Makefile.PL.  From
> my review of the code, it appears I'd need to change MM_Unix.pm to 
> change the 'sub tools_other' method to remove the following line:

This is object oriented perl. You don't _need_ to change anything,
you can use a derived class to do it:

package MY;
sub tools_other
{
 my $self = shift;
 local $_ = $self->SUPER::tools_other(@_);
 ... mess with $_ as you see fit 
 return $_;
}

-- 
Nick Ing-Simmons


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list