Branch: refs/heads/ap/simpler-strict
Home: https://github.com/Perl/perl5
Commit: 0ff126f3f2b1c0740071936055f14dbc9309f605
https://github.com/Perl/perl5/commit/0ff126f3f2b1c0740071936055f14dbc9309f605
Author: Aristotle Pagaltzis <[email protected]>
Date: 2025-02-04 (Tue, 04 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.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications