Commit e7a7913405 for perl

commit e7a7913405d00d5bb6c1793fa5c602f97a0ae232
Author: David Mitchell <davem@iabyn.nospamdeletethisbit.com>
Date:   Thu Nov 5 14:43:38 2026 +0000

    modernise t/op/concat2.t

    Add warnings,strict; use done_testing()

diff --git a/t/op/concat2.t b/t/op/concat2.t
index a1cc0e6daf..da9fadb4f8 100644
--- a/t/op/concat2.t
+++ b/t/op/concat2.t
@@ -12,16 +12,20 @@ BEGIN {
     set_up_inc('../lib');
 }

-plan 4;
+use warnings;
+use strict;

 # This test is in the file because overload.pm uses concatenation.
 { package o; use overload '""' => sub { $_[0][0] } }
-$x = bless[chr 256],o::;
-"$x";
-$x->[0] = "\xff";
-$x.= chr 257;
-$x.= chr 257;
-is $x, "\xff\x{101}\x{101}", '.= is not confused by changing utf8ness';
+
+{
+    my $x = bless[chr 256],o::;
+    my $tmp = "$x";
+    $x->[0] = "\xff";
+    $x.= chr 257;
+    $x.= chr 257;
+    is $x, "\xff\x{101}\x{101}", '.= is not confused by changing utf8ness';
+}

 # RT #132385
 # in multiconcat, each const TEMP used for overloading should be distinct
@@ -73,3 +77,5 @@ end
     }
     is($s, 'FOOX', 'local $magic_var = "...."');
 }
+
+done_testing();