in reply to Re^5: Modernizing the Postmodern Language?
in thread Modernizing the Postmodern Language?
what about declared subroutines?
Without brackets they become barewords.
I find the whole, 4ish "how do I pass bareword FH to subroutines?" by "referencing of a glob" syntax like \*DATA extremely confusing.
I won't miss them.
I only wished I wouldn't find so many perldocs and modules on CPAN still advertising them in their POD.
And if you still insist on bareword FHs, you can still let a sub return them.
sub FH { return $fh; }
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Modernizing the Postmodern Language?
by jcb (Parson) on Jul 01, 2020 at 02:18 UTC | |
by LanX (Saint) on Jul 04, 2020 at 20:22 UTC | |
by jcb (Parson) on Jul 06, 2020 at 01:03 UTC | |
by LanX (Saint) on Jul 06, 2020 at 01:11 UTC |