Branch: refs/heads/ap/simpler-strict Home: https://github.com/Perl/perl5 Commit: 497a220f228869c35dd3f02c6f6111fa5f499b90 https://github.com/Perl/perl5/commit/497a220f228869c35dd3f02c6f6111fa5f499b90 Author: Aristotle Pagaltzis <pagalt...@gmx.de> Date: 2025-02-02 (Sun, 02 Feb 2025)
Changed paths: M lib/strict.pm Log Message: ----------- stop directly mutating $^H in strict::bits() This improves the code in two ways: 1. Considering strict::bits is used by B::Deparse and vars.pm as unofficial API, the function having this side effect is arguably a latent bug even if it doesn’t break those callers. 2. It is harder to follow the intended logic when the function modifies $^H itself but also returns a value for the caller to apply to $^H. With this change, all branches also become entirely symmetrical. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications