Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b82b16a38d98ef71e399a80f4e56073741c613cd https://github.com/Perl/perl5/commit/b82b16a38d98ef71e399a80f4e56073741c613cd Author: Richard Leach <richardle...@users.noreply.github.com> Date: 2023-08-25 (Fri, 25 Aug 2023)
Changed paths: M op.c M t/op/lvref.t Log Message: ----------- Perl_ck_refassign: support refassigning into a state variable Prior to this commit, Perl_ck_refassign did not check if the target was a state variable and, if so, wrap it in a ONCE op so that the RHS is only evaluated once.