use v5.35; use Future; { use feature 'bareword_filehandles'; open Future, "<", "/dev/null"; } my $f = Future->done(123);
Fails with:
Name "main::Future" used only once: possible typo at - line 3.
Can't locate object method "done" via package "IO::File" at - line 4.
This indicated that, despite the no feature "bareword::filehandles"
that was in scope at toplevel, it nonetheless tried to resolve the ->done
method call via that bareword handle that was previously opened earlier, taking precedence over the otherwise-expected resolve via named package.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4