Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: f430ad845a2f4f64125379fb1e31ac5bd85a4e91
https://github.com/Perl/perl5/commit/f430ad845a2f4f64125379fb1e31ac5bd85a4e91
Author: James E Keenan <[email protected]>
Date: 2025-12-19 (Fri, 19 Dec 2025)
Changed paths:
M lib/warnings.pm
M pod/perldeprecation.pod
M pod/perldiag.pod
M regen/warnings.pl
M t/op/universal.t
M t/porting/diag.t
M universal.c
M warnings.h
Log Message:
-----------
Fatalization of calling import/unimport method with argument
This commit is mostly a manual reversion of commit f1cf82e. Return to
using a perl_croak in universal.c; adjust regen/warnings.pl as needed; run 'make
regen'; get t/op/universal.t passing. No documentation changes yet.
Add test for undefined unimport method, then refactor repeated code into
a subroutine. Perform a pattern match rather than a string equality
test because testing for exact line numbers inside a test program is too
fragile for maintenance purposes.
'mispelled' was misspelled in one location; correct. Suppress 'used
only once' warning in one location. POD formatting improvements as
suggested by Elvin Aslanov, with one other word change.
Correct case of one character in error message so that it's the same in
both universal.c and pod/perldiag.pod. This enables us to preserve
status of universal.c in t/porting/diag.t. Per: Tony Cook review.
Rebasing on blead in the wake of d306795336, meant that merge conflicts
appeared, which necessitated two rounds of running 'make regen'.
Simplify test_undefined_method(). Update entry in
pod/perldeprecation.pod.
For: GH #23623
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications