The attached script below, is meant for a Perl5 goto support, works fine - which means that Perl6 has missed a feature from Perl5.
#!/usr/bin/perl
my $i = 0; itr: $i++; print "$i\n"; goto itr if ($i < 10); print "$i\n"; #shall output 10
The attached script below, is meant for a Perl5 goto support, works fine - which means that Perl6 has missed a feature from Perl5.
#!/usr/bin/perl
my $i = 0; itr: $i++; print "$i\n"; goto itr if ($i < 10); print "$i\n"; #shall output 10