Although the actual problem has been solved for me, one additional quick question:
You have mentioned "use open ..." as an alternative to "binmode(...)". But as far as I have understood the documentation, "use open ..." is lexically scoped as well, while "binmode(...)", when being at the beginning of a module which is used by a script, will set the file encoding throughout the whole script.
So in my case it would not be wise to switch from "binmode(...)" to "use open ...". Did I get this right?
Best regards,
Nocturnus
In reply to Re^4: Which "use" statements in a module do "bubble up" to the callers?
by Nocturnus
in thread Which "use" statements in a module do "bubble up" to the callers? [SOLVED]
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |