From: Chip Salzenberg Date: Tue, 1 Apr 1997 00:01:35 +0000 (+1200) Subject: Fix MM doc's use of "SUPER::" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14870ecde11bcf4aefbaa822f23042d2bbd7bd0a;p=p5sagit%2Fp5-mst-13.2.git Fix MM doc's use of "SUPER::" (this is the same change as commit acce7d4e04d89207299003c3e80c69d50bc82069, but as applied) --- diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index eb49f3e..0898b75 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -1687,7 +1687,8 @@ either say: or you can edit the default by saying something like: sub MY::c_o { - my($inherited) = shift->SUPER::c_o(@_); + package MY; # so that "SUPER" works right + my $inherited = shift->SUPER::c_o(@_); $inherited =~ s/old text/new text/; $inherited; }