Branch: refs/heads/haarg/db-sub-overload-fixes Home: https://github.com/Perl/perl5 Commit: 02494a5da6d05d6af3d1ddf5a39c7158a81eb1a9 https://github.com/Perl/perl5/commit/02494a5da6d05d6af3d1ddf5a39c7158a81eb1a9 Author: Graham Knop <ha...@haarg.org> Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths: M lib/perl5db.pl Log Message: ----------- perl5db: only check sub names for non-references DB::sub can be called by perl giving it either a name (if it can be determined) or a code ref. There is special handling for AUTOLOAD subs and threads::new. This could only be happen when given the name of the sub, so there is no need to do these checks if given a reference. Additionally, a reference could be an object, which could have overloads. Those overloads could fail or otherwise complicate the normal operation of DB::sub. Add a ref check to the sub given to DB::sub to avoid these issues. Commit: a2b1ab5d3784e8f9c2765100ad6e8d830c9b1c40 https://github.com/Perl/perl5/commit/a2b1ab5d3784e8f9c2765100ad6e8d830c9b1c40 Author: Graham Knop <ha...@haarg.org> Date: 2025-07-29 (Tue, 29 Jul 2025) Changed paths: M lib/perl5db.pl Log Message: ----------- bump perl5db VERSION Compare: https://github.com/Perl/perl5/compare/60c67f014057...a2b1ab5d3784 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications