From 8116c491fff673ab72a3b080a0c5a3f838c945bc 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pod/perlop.pod b/pod/perlop.pod index a1d19b1a6970..c1b83bcbc0be 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2272,6 +2272,9 @@ The bottom line is that using C is almost never a good idea. =item The empty pattern C +(This subsection applies to C, 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).