It's not perl, it's the OS. You'd have the same problem with an already open fd in C.
DATA is just an open fd on the source file.
Try a seek DATA, 0, 0; and notice you can read the whole source file.
In reply to Re^8: How can I read DATA in parent and child?
by tybalt89
in thread How can I read DATA in parent and child?
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |