Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: f4a8839228b984c588f8e888d1623b5b0cb6d17c
      
https://github.com/Perl/perl5/commit/f4a8839228b984c588f8e888d1623b5b0cb6d17c
  Author: Paul "LeoNerd" Evans <leon...@leonerd.org.uk>
  Date:   2024-04-27 (Sat, 27 Apr 2024)

  Changed paths:
    M MANIFEST
    M op.c
    M pp_ctl.c
    A t/lib/test_22121.pm
    M t/lib/warnings/op

  Log Message:
  -----------
  Store PL_prevailing_version in the frozen hinthash around a string-eval op

We need to save the value of PL_prevailing_version at the time the eval
op was compiled, so it can be put in place during the running code.

Ideally we'd do something more robust, like change the OP_ENTERVAL op
class into UNOP_AUX, so that the aux vector can store additional
information like the version number and perhaps the frozen hints hash.

In practice it is far too close to the 5.40 release to contemplate such
a change now, so this is a less intrusive but hackier change to achieve
the same aim.

See also
  https://github.com/Perl/perl5/issues/22121


  Commit: abc5e0f912e1e449423f2017b9529412df31270b
      
https://github.com/Perl/perl5/commit/abc5e0f912e1e449423f2017b9529412df31270b
  Author: Paul "LeoNerd" Evans <leon...@leonerd.org.uk>
  Date:   2024-04-27 (Sat, 27 Apr 2024)

  Changed paths:
    M pp_ctl.c

  Log Message:
  -----------
  Delete the CORE/prevailing_version key from the hint hash inside string eval 
so perl code doesn't get to see it


Compare: https://github.com/Perl/perl5/compare/cf4cf3087fbc...abc5e0f912e1

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

Reply via email to