From 56a415e9978ce5f2407fbcc0b3dacb130e470600 Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Wed, 9 Oct 2024 08:51:19 +0200 Subject: [PATCH] clarify the comparison between 'our' and 'use vars' Fixes GH #22424 --- pod/perlfunc.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index a6ee7aeaa0a0..2656d13c0ba3 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -5377,9 +5377,9 @@ values: our ( undef, $min, $hour ) = localtime; -L|/our VARLIST> differs from L|vars>, which allows -use of an unqualified name I within the affected package, but -across scopes. +L|/our VARLIST> is lexically scoped, and as such differs from +L|vars>, which allows use of an unqualified name I +within the affected package, without consideration for scopes. =item pack TEMPLATE,LIST X