From 5db4884c69252a594467022d9fd3fcc1b79af84b Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Wed, 31 Jan 2024 16:34:45 +0000 Subject: [PATCH] perldelta for new lexical sub warning --- pod/perldelta.pod | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 7efe8845ad3e2..dd4cfc1d97571 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -211,7 +211,11 @@ XXX L =item * -XXX L +L + +The current package already contains a subroutine whose name matches that of +a newly-declared lexical or lexically imported subroutine. The latter will +take precedence and make the package one inaccessible by name. =back