[Perl/perl5] 4e2e5c: regen/embed.pl: Hide most KEY_foo symbols from XS

[email protected] (Karl Williamson via perl5-changes) Thu, 30 Jul 2026 05:08:57 -0700
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4e2e5cea10c3be2631bff0ee87e6563e2d5eabeb
      https://github.com/Perl/perl5/commit/4e2e5cea10c3be2631bff0ee87e6563e2d5eabeb
  Author: Karl Williamson <[email protected]>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M embed.h
    M regen/embed.pl

  Log Message:
  -----------
  regen/embed.pl:  Hide most KEY_foo symbols from XS

There are a lot of symbols in keywords.h that are visible to all XS
code.  Most code has no business knowing about these.

I've tried removing them all before, but that causes cpan failures.

Now, I have grepped metacpan for these, and only a few are actually
used.  They are
    'my', 'our', 'sigvar', 'KEY_UNITCHECK'

So I'm trying again, early in the development cycle, leaving just the
ones listed above



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications