there are also some commands to set the binmode for STDIN, STDOUT and STDERR
BTW, you can use the open pragma with its :std option for this as well.
The only thing which I am still wondering about is that the constants are indeed in my script.pl, without having them exported from the module. But I think this is due to the fact that I have no "package ..." statement in that module (yet). Yes, I know, bad style, but still just testing at the moment ...
Correct on both that it's due to the missing package (that means everything is happening in the default package main) and that it's bad style ;-)
In reply to Re^3: Which "use" statements in a module do "bubble up" to the callers?
by haukex
in thread Which "use" statements in a module do "bubble up" to the callers? [SOLVED]
by Nocturnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |