Branch: refs/heads/book/PPC0014
Home: https://github.com/Perl/perl5
Commit: e38899e693ba94a3a3bff318228c87543b1f2511
https://github.com/Perl/perl5/commit/e38899e693ba94a3a3bff318228c87543b1f2511
Author: Philippe Bruhat (BooK) <[email protected]>
Date: 2026-02-07 (Sat, 07 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: 915f14c24c499383090282aeb29b4d76bf16f6ea
https://github.com/Perl/perl5/commit/915f14c24c499383090282aeb29b4d76bf16f6ea
Author: Philippe Bruhat (BooK) <[email protected]>
Date: 2026-02-07 (Sat, 07 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/e38899e693ba%5E...915f14c24c49
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications