Think about Loose Coupling | |
PerlMonks |
Re^6: Modernizing the Postmodern Language?by LanX (Saint) |
on Jun 30, 2020 at 23:44 UTC ( [id://11118745]=note: print w/replies, xml ) | Need Help?? |
> The package/filehandle conflict is one of the few actual problems with bareword filehandles in Perl, 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.
Cheers Rolf
In Section
Meditations
|
|