projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bbc6b0c
)
Fix MM doc's use of "SUPER::"
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000 (12:01 +1200)]
(this is the same change as commit
acce7d4e04d89207299003c3e80c69d50bc82069
, but as applied)
lib/ExtUtils/MakeMaker.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ExtUtils/MakeMaker.pm
b/lib/ExtUtils/MakeMaker.pm
index
eb49f3e
..
0898b75
100644
(file)
--- 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;
}