Branch: refs/heads/ap/simpler-strict
Home: https://github.com/Perl/perl5
Commit: 8bf9adff478ba9464e2e20ece32a7da2683d6a00
https://github.com/Perl/perl5/commit/8bf9adff478ba9464e2e20ece32a7da2683d6a00
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