We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following code in section 3.7. Assignment vs. Binding seems not working my $a; my $b; $b := $a; $a = 7; say $b; $b = 8; say $a;
my $a; my $b; $b := $a; $a = 7; say $b; $b = 8; say $a;
i got the following error message: `
my $a (Any) my $b (Any) $b := $a; ===SORRY!=== Error while compiling: Cannot use bind operator with this left-hand side ------> $b := $a;`
The text was updated successfully, but these errors were encountered:
Thanks. This looks to be a REPL bug. I filed it in Rakudo as rakudo/rakudo#1565
The code from the example should work fine if you save it into a file and run perl6 the-file.p6
perl6 the-file.p6
Sorry, something went wrong.
No branches or pull requests
Following code in section 3.7. Assignment vs. Binding seems not working
my $a; my $b; $b := $a; $a = 7; say $b; $b = 8; say $a;
i got the following error message:
`
The text was updated successfully, but these errors were encountered: