Commit 146930b502 for perl

commit 146930b50202a8b2ab6fb1458624209c6d6fb9f1
Author: James E Keenan <jamesekeenan@yahoo.com>
Date:   Sat Nov 21 10:03:34 2026 -0500

    Porting/bisect-runner.pl: Improve one EXAMPLE

    Sample code with which to identify commit where segfault first occurred
    could be written more succinctly with a one-liner, run faster by
    targeting and using miniperl, and be more self-documenting by using only
    production release tags for start and end revisions.

diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 6bc39e669b..8da6112866 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -952,15 +952,30 @@ F<perlbrew>) to identify the first production release at which the code would
 not compile.  Used that information to shorten bisection time.

     .../perl Porting/bisect.pl \
-        --start=v5.14.4 \
-        --end=v5.16.3 \
-        --crash -- ./perl -Ilib /tmp/gh-17333-map.pl
+        --start=v5.14.0 \
+        --end=v5.16.0 \
+        --crash \
+        -- ./perl -Ilib /tmp/gh-17333-map.pl

     $ cat gh-17333-map.pl

     @N = 1..5;
     map { pop @N } @N;

+B<Note:> The crashing code could be written more succinctly with a one-liner.
+There would then be no need to refer to a file outside the core distribution.
+Also, given that the crashing code does not use any modules or XS code,
+bisection would run more quickly if we only targeted and built C<miniperl>
+rather than C<test_prep> (the implicit target in the above example).  That
+would suggest:
+
+    .../perl Porting/bisect.pl \
+        --start=v5.14.0 \
+        --end=v5.16.0 \
+        --target=miniperl \
+        --crash \
+        -e '@N = 1..5; map { pop @N } @N;'
+
 =item * Reference

 L<GH issue 17333|https://github.com/Perl/perl5/issues/17333>