New issue
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
Mention of $0 before match yields strange error in rakudo #222
Comments
From @masakr30136: $ ./perl6 -e '"hi" ~~ /(i)/; $0' # works $ ./perl6 -e '$0' # fails (in a strange way) I don't know whether the failure should eventually be silent or loud, It clearly has something to do with indexing, since $0 is essentially $ ./perl6 -e 'my @a; @a[0]' # works $ ./perl6 -e 'my $a; $a[0]' # same problem Perl 5's motto here seems to be complaining as little as possible. $ perl -Mstrict -we 'my $a; $a->[0]' |
From @pmichaudNow fixed in r33865, thanks! Pm |
1 similar comment
From @pmichaudNow fixed in r33865, thanks! Pm |
@pmichaud - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#57758 (status was 'resolved')
Searchable as RT57758$
The text was updated successfully, but these errors were encountered: