From 4dd9551803b40a514a28062780b164fdfbb4ef59 Mon Sep 17 00:00:00 2001 From: David Golden Date: Thu, 5 Jul 2012 20:01:26 -0400 Subject: [PATCH] perlfunc: clarify docs for 'package' [perl #113974] This one word change clarifies that 'package' applies to 'lexically-scoped' variables rather than 'lexical' variables, which people may misunderstand to mean only my/state declarations and thus be confused by the nearby statements about it applying to 'our' as well. No perldelta note was added as the change was trivial. --- pod/perlfunc.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 25f8a73..2d73099 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4979,7 +4979,7 @@ when they're one of the special identifiers that qualify into C, like C, C, C, and the punctuation variables. A package statement affects dynamic variables only, including those -you've used C on, but I lexical variables, which are created +you've used C on, but I lexically-scoped variables, which are created with C, C, or C. Typically it would be the first declaration in a file included by C or C. You can switch into a package in more than one place, since this only determines which default -- 2.7.4