[perl #40328] B::Deparse pod does not list failure to grok outer lexical scopes in...
authorDavid Nicol <davidnicol@gmail.com>
Tue, 12 Sep 2006 13:21:24 +0000 (06:21 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 13 Sep 2006 09:44:26 +0000 (09:44 +0000)
From: David Nicol (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31259-1158092484-244.40328-75-0@perl.org>

p4raw-id: //depot/perl@28831

ext/B/B/Deparse.pm

index 7b1e538..635d5b5 100644 (file)
@@ -4705,6 +4705,13 @@ which is not, consequently, deparsed correctly.
 
 =item *
 
+Lexical (my) variables declared in scopes external to a subroutine
+appear in code2ref output text as package variables. This is a tricky
+problem, as perl has no native facility for refering to a lexical variable
+defined within a different scope, although L<PadWalker> is a good start.
+
+=item *
+
 There are probably many more bugs on non-ASCII platforms (EBCDIC).
 
 =back