more useful options | |
PerlMonks |
Re^10: Is there a problem with using barewords as filehandles ?by LanX (Saint) |
on Jul 08, 2020 at 08:01 UTC ( [id://11119029]=note: print w/replies, xml ) | Need Help?? |
> If you put a block around a file-scope lexical, it is not a file-scope lexical anymore. My point was that the scope of lexical variables can be easily limited. You can't our FHs to limit the scope so you'd need different packages. > only by educating the programmers about the language in which they write. Well we wouldn't need any other languages if programmers were educated enough to use assembler. FHs need a lot of extra technique, educating a new programmer about all the tricks needed takes a while, without extra benefit. Discouraging their use doesn't mean changing the language.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|