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
.subst
does not work inside BEGIN block ($/ is set too late)
#3515
Comments
From anteusz@freemail.huHi all, I found this 12:55:39] [jaffa4] m: BEGIN {my $p = Jaffa4 |
From @smlsComfirmed on current Rakudo. Now it additionally throws a weird exception... Simpler demo example: ➜ say "a".subst(/a/, "b"); ➜ BEGIN { say "a".subst(/a/, "b"); } |
@coke - Status changed from 'new' to 'open' |
From @smlsIRC comments: psch: m: BEGIN { my $/ := Any; note "foo".subst("foo","bar") } |
From @zoffixznetFix: rakudo/rakudo@a62b221 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#122789 (status was 'resolved')
Searchable as RT122789$
The text was updated successfully, but these errors were encountered: