Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Is there a problem with using barewords as filehandles ?by LanX (Saint) |
on Jul 01, 2020 at 15:23 UTC ( [id://11118762]=note: print w/replies, xml ) | Need Help?? |
> because whoever wrote it wasn't thinking about scope, FWIW you can localize a FH inside the function's scope, but this implies some glob syntax IIRC. I think local *FH but ...
Not that beginner friendly
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|