summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/Constant/ProxySubs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExtUtils/Constant/ProxySubs.pm')
-rw-r--r--lib/ExtUtils/Constant/ProxySubs.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ExtUtils/Constant/ProxySubs.pm b/lib/ExtUtils/Constant/ProxySubs.pm
index 921da9a3f4..4317e1ebe8 100644
--- a/lib/ExtUtils/Constant/ProxySubs.pm
+++ b/lib/ExtUtils/Constant/ProxySubs.pm
@@ -338,6 +338,9 @@ EOBOOT
}
print $xs_fh <<EOCONSTANT
+ /* As we've been creating subroutines, we better invalidate any cached
+ methods */
+ ++PL_sub_generation;
}
void