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
Migrated from rt.perl.org#127034 (status was 'new')
Searchable as RT127034$
The text was updated successfully, but these errors were encountered:
#lib/beginprecomp.pm my package EXPORT::DEFAULT { BEGIN { OUR::{'&foo'} = sub (|) { say "foo" } } }
perl6 -Ilib -e 'use beginprecomp; foo' #!>Cannot invoke this object
Sorry, something went wrong.
A golfed case of a closure with the same problem:
MyTest.pm6: BEGIN { -> { note } }();
$ perl6 -I. -e 'use MyTest' ===SORRY!=== Cannot invoke this object
Some debugging shows that inside the closure, PROCESS:: is null, and changing the code above to:
BEGIN { temp PROCESS::; -> { note } }()
made that survives precompilation.
No branches or pull requests
Migrated from rt.perl.org#127034 (status was 'new')
Searchable as RT127034$
The text was updated successfully, but these errors were encountered: