in reply to Re^7: Is there a problem with using barewords as filehandles ?
in thread Is there a problem with using barewords as filehandles ?
Nope, again, there are plenty of ways to avoid a lexical to be closed over, like writing the main code after the subs are declared or putting a block around it.
And people who ignore lexical filehandles, don't know about packages either.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Is there a problem with using barewords as filehandles ?
by karlgoethebier (Abbot) on Jul 08, 2020 at 22:12 UTC | |
by LanX (Saint) on Jul 08, 2020 at 22:19 UTC | |
by karlgoethebier (Abbot) on Jul 08, 2020 at 22:51 UTC | |
|
Re^9: Is there a problem with using barewords as filehandles ?
by jcb (Parson) on Jul 08, 2020 at 01:30 UTC | |
by LanX (Saint) on Jul 08, 2020 at 08:01 UTC | |
by bliako (Abbot) on Jul 08, 2020 at 08:15 UTC | |
by LanX (Saint) on Jul 08, 2020 at 14:30 UTC | |
by bliako (Abbot) on Jul 09, 2020 at 06:46 UTC |