Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 30b2d1faae0470c5e9330e0fa38b39d90c7f1cb6
      
https://github.com/Perl/perl5/commit/30b2d1faae0470c5e9330e0fa38b39d90c7f1cb6
  Author: Tony Cook <t...@develop-help.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M lib/perl5db.pl
    M lib/perl5db.t

  Log Message:
  -----------
  perl5db: distinguish an empty list or undef for w expressions

The debugger before the re-work around ~2012 discarded any list
value returned by the expression beyond the first element, but it
did distinguish an empty string from undef for that single value.

The re-work attempted to fix that by join()ing the elements returned
but this join was done before the filtering to distinguish undef
from an empty string, which resulted in watch expressions not
stopping on a change from undef to an empty string (or back).

So instead, filter each element returned by the watch expression for
undef before doing the join.



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

Reply via email to