From e6b875612d942c1d2fd6aca3940bbb169c237703 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 7 Jul 2025 13:15:01 -0600 Subject: [PATCH] perlop: Clarify empty pattern section not valid for qr// Fixes GH #23410 --- pod/perlop.pod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pod/perlop.pod b/pod/perlop.pod index a1d19b1a6970..a04ee7b6d042 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2272,6 +2272,8 @@ The bottom line is that using C is almost never a good idea. =item The empty pattern C +(This subsection applies to C and C, but not to C.) + If the I evaluates to the empty string, the last I matched regular expression in the current dynamic scope is used instead (see also L).