PATCH: 're' pragma is lexically scoped since Perl 5.9.5
[email protected] (Nick Johnston)
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
I've attached a trivial patch for fixing a minor inaccuracy in the perldebguts documentation, which incorrectly claims that the 're' pragma is not lexically scoped. I'm not sure whether to use "perl" or "Perl" when referring to a Perl version. Thanks Nick
0001-Update-re-pragma-is-lexically-scoped-since-Perl-5.9.patch
(application/octet-stream, 816 B)
From 8a69c215d1c72626b948c38c515ad7c0b15e0d06 Mon Sep 17 00:00:00 2001 From: Nick Johnston <[email protected]> Date: Thu, 17 Jun 2010 14:13:18 +0100 Subject: [PATCH] Update: re pragma is lexically scoped since Perl 5.9.5. --- pod/perldebguts.pod | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod index 7319e74..402b67c 100644 --- a/pod/perldebguts.pod +++ b/pod/perldebguts.pod @@ -405,7 +405,8 @@ If your perl is compiled with C<-DDEBUGGING>, you may use the B<-Dr> flag on the command line. Otherwise, one can C<use re 'debug'>, which has effects at -compile time and run time. It is not lexically scoped. +compile time and run time. Since Perl 5.9.5, this pragma is lexically +scoped. =head2 Compile-time output -- 1.6.0.4