X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl5004delta.pod;h=8cec3aba8a97aec01505155c7c625ac21d93f08c;hb=4b3603a49f6eac34b6cdb154bf3bd8a8f5240085;hp=2ade2357035ea08603c0af39a0f8a740ce8beeea;hpb=697934ef381c2fbd2ff49c5e4b22e596a509b7a0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl5004delta.pod b/pod/perl5004delta.pod index 2ade235..8cec3ab 100644 --- a/pod/perl5004delta.pod +++ b/pod/perl5004delta.pod @@ -810,7 +810,7 @@ builtin operations. When C is in effect, the current LC_CTYPE locale is used for regular expressions and case mapping; LC_COLLATE for string -ordering; and LC_NUMERIC for numeric formating in printf and sprintf +ordering; and LC_NUMERIC for numeric formatting in printf and sprintf (but B in print). LC_NUMERIC is always used in write, since lexical scoping of formats is problematic at best. @@ -1489,7 +1489,7 @@ subroutine, and outside that is another subroutine; and the anonymous (innermost) subroutine is referencing a lexical variable defined in the outermost subroutine. For example: - sub outermost { my $x; sub middle { sub { $x } } } + sub outermost { my $a; sub middle { sub { $a } } } If the anonymous subroutine is called or referenced (directly or indirectly) from the outermost subroutine, it will share the variable