X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/c68b7fe2634008b3db56b984e848e23bd7e85680..31d2074969860b98077ae7c026ac7c725f7e1876:/pod/perldelta.pod?ds=sidebyside diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 1999110..a7f39e2 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -341,11 +341,12 @@ insanity. As of v5.18, these now follow the rules of other identifiers, in addition to accepting characters that match the C<\p{POSIX_Punct}> property. -There are no longer any differences in the parsing of identifiers -specified as C<$...> or C<${...}>; previously, they were dealt with in -different parts of the core, and so had slightly different behavior. For -instance, C<${foo:bar}> was a legal variable name. Since they are now -both parsed by the same code, that is no longer the case. +There is no longer any difference in the parsing of identifiers +specified by using braces versus without braces. For instance, perl +used to allow C<${foo:bar}> (with a single colon) but not C<$foo:bar>. +Now that both are handled by a single code path, they are both treated +the same way: both are forbidden. Note that this change is about the +range of permissible literal identifiers, not other expressions. =head2 Vertical tabs are now whitespace