Branch: refs/heads/book/PPC0014
  Home:   https://github.com/Perl/perl5
  Commit: 3d5d4c5a0526425c4eeab87a480d07e71e9cb9bb
      
https://github.com/Perl/perl5/commit/3d5d4c5a0526425c4eeab87a480d07e71e9cb9bb
  Author: Philippe Bruhat (BooK) <[email protected]>
  Date:   2026-02-08 (Sun, 08 Feb 2026)

  Changed paths:
    M dist/Data-Dumper/t/dumper.t
    M gv.c
    M t/base/lex.t
    M t/op/magic.t

  Log Message:
  -----------
  implement PPC0014 English Name aliases

The english_names table contains all known control character variables:
- aliases to punctuation / single letter variables
- caret version of existing superglobals they alias to (CARET_VARS_SUPERGLOBAL)
- builtin caret variables that won't be aliased (CARET_VARS_PREDEFINED)

Every name not in this table will trigger a warning (for now).

Note that we're not touching the match variables in this commit:
first they need to exist at all times, instead of being brought into
existence by the /p modifier on regular expressions. I.e., we need
to make /p a no-op.

This also fixes some tests (t/base/lex.t, t/op/magic.t, 
dist/Data-Dumper/t/dumper.t)
to not warn about unknown caret variables.

Co-authored-by: Paul Evans <[email protected]>


  Commit: dcc955060b6fe01a9bcf11dd0ba5b67dbc64bba1
      
https://github.com/Perl/perl5/commit/dcc955060b6fe01a9bcf11dd0ba5b67dbc64bba1
  Author: Philippe Bruhat (BooK) <[email protected]>
  Date:   2026-02-08 (Sun, 08 Feb 2026)

  Changed paths:
    M MANIFEST
    A t/comp/caret_vars.t

  Log Message:
  -----------
  tests for English names

this is basically a copy of lib/English.t with the variable names adjusted
and the tests for the match variables skipped until we deal with them


Compare: https://github.com/Perl/perl5/compare/915f14c24c49...dcc955060b6f

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

Reply via email to