Branch: refs/heads/no-bareword-filehandle-function
Home: https://github.com/Perl/perl5
Commit: 2dc0afb2967a00e66afaa8e07da032fa1c3aa2b8
https://github.com/Perl/perl5/commit/2dc0afb2967a00e66afaa8e07da032fa1c3aa2b8
Author: Dagfinn Ilmari Mannsåker <[email protected]>
Date: 2021-12-11 (Sat, 11 Dec 2021)
Changed paths:
M t/lib/feature/bareword_filehandles
M toke.c
Log Message:
-----------
Also fix paren-less calls of subs where a filehandle could be
If a sub exists, it takes precedence over the filehandle
interpretation even without the parens:
$ perl -le 'sub foo { "bar" } print foo;'
bar