perl5 icon indicating copy to clipboard operation
perl5 copied to clipboard

Cleanup - break positional requirement of keywords

Open happy-barney opened this issue 6 months ago • 0 comments

Proper behaviour of op.c depended on correct keyword order in regen/keywords.pl.

Affected logic was fragile and magic (% 3).

Change breaks such requirement, allowing alphabetical sorting (always improving maintenance).

  • Primary test
  • t/op/coreamp.t
  • This set of changes does not require a perldelta entry.

  • Follow-ups

  • improve documentation why some keywords are + and another -
  • use PPI to project changes to lib/B/Deparse.pm

happy-barney avatar May 31 '25 12:05 happy-barney