On Wed, Jan 14, 2009 at 01:28:10AM -0800, Carl Mäsak wrote:
> rakudo: my $x = "foo"; class A { my $.y = $x } # bug?
> rakudo 35518: OUTPUT«Lexical '$x' not found [...]
There's a known problem that we can't yet do outer lexicals from
things that look like BEGIN blocks (in Parrot terms -- things
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #62334]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=62334 >
rakudo: my $x = "foo"; class A { my $.y = $x } # bug?
rakudo 35518: OUTPUT«Lexical '$x