summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2010-07-21 18:28:33 -0700
committerJan Dubois <jand@activestate.com>2010-07-21 18:28:33 -0700
commitcfef31b27d1a56cda74e23698243f3be70bd9cb3 (patch)
treea24c515a115b3500922a6f9654ce3596fb828e64 /embed.pl
parentb6c85593a554a961f8d6994f7e4c5551a0a5eb2c (diff)
downloadperl-cfef31b27d1a56cda74e23698243f3be70bd9cb3.tar.gz
Get rid of PERL_POLLUTE
PERL_POLLUTE was added (but undefined by default) in 5.6 to optionally expose older 5.005 symbols for backwards compatibility. It's use was always discouraged, and MakeMaker contains a more specific escape hatch: perl Makefile.PL POLLUTE=1 This can be used for modules that have not been upgraded to 5.6 naming conventions (and really should be completely obsolete by now).
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl12
1 files changed, 0 insertions, 12 deletions
diff --git a/embed.pl b/embed.pl
index 9c55cb4b65..fea46df98f 100755
--- a/embed.pl
+++ b/embed.pl
@@ -745,18 +745,6 @@ print $em <<'END';
#endif /* PERL_GLOBAL_STRUCT */
-#ifdef PERL_POLLUTE /* disabled by default in 5.6.0 */
-
-END
-
-for $sym (sort @extvars) {
- print $em hide($sym,"PL_$sym");
-}
-
-print $em <<'END';
-
-#endif /* PERL_POLLUTE */
-
/* ex: set ro: */
END