Carl MXXsak (via RT) wrote:
> # New Ticket Created by  "Carl Mäsak" 
> # Please include the string:  [perl #65444]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=65444 >
> 
> 
> <masak> rakudo: my $x = "OH HAI"; "foo" ~~ / ^ foo {{ $P1 = find_lex
> "$x"␤say $P1␤}} $ /
> <p6eval> rakudo bd1c1e: OUTPUT«Lexical '$x' not found [...]

These days you say

my $x = 'OH HAI'; 'foo' ~~ / ^ foo { say $x } /;

and it just works[tm].


> * masak submits rakudobug
> <ruoso> masak, pmichaud already told me PGE didn't catch up with perl
> 6 lexicals yet
> <ruoso> pmichaud, but I wonder if there's any way to work-around it in
> the meanwhile...
> <masak> yes, but did he tell RT? :)
> <masak> this was supposed to be the workaround.
> <masak> that's why it's important to complain when it doesn't work.
> <masak> things such as variable access are half the utility of closures.

Reply via email to