Perl6-One-Liners icon indicating copy to clipboard operation
Perl6-One-Liners copied to clipboard

t/syntax.t6 hangs on this test

Open dnmfarrell opened this issue 10 years ago • 3 comments

perl6 -MTest -e 'plan 1;is q:x{perl6 -ce "state %l;.say if ++%l{$_}==2"}, "Syntax OK\n";'

dnmfarrell avatar Nov 29 '14 18:11 dnmfarrell

The problem seems to have to do with shell-expansion of {$_} in double quotes. It works if you do something like

perl6 -MTest -e 'plan 1;is qx{perl6 -ce "state %l; .say if ++%l«\$_» == 2"}, "Syntax OK\n";'

Mouq avatar Nov 30 '14 04:11 Mouq

emplement strobe with random checker based on pi

naqe avatar Jul 20 '17 14:07 naqe

to solve problem

naqe avatar Jul 20 '17 14:07 naqe