Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: eeaf1b8f72710f091cafbed290bc257922c08e73
      
https://github.com/Perl/perl5/commit/eeaf1b8f72710f091cafbed290bc257922c08e73
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  t/test.pl: Handle displaying of read-only items

The function display() prettifies its input for display for better human
consumption.  But it does this by actually modifiying the input, so will
crash when passed a read-only value,  The simple solution is to make a
copy of the input, and modify that instead.

I'm somewhat surprised this hasn't come up before.  A simple

    like("A", qr/B/)

triggers it.


  Commit: 9bf7021b6ee25ce21130fd0d60182a01695fab20
      
https://github.com/Perl/perl5/commit/9bf7021b6ee25ce21130fd0d60182a01695fab20
  Author: Lukas Mai <l....@web.de>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M MANIFEST
    A t/test_pl/display.t

  Log Message:
  -----------
  Add test_pl/display.t


Compare: https://github.com/Perl/perl5/compare/053b4620bf8c...9bf7021b6ee2

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

Reply via email to