The code you posted lacks any mention of $|=1
You need to use strict and use warnings.
You also really need to check to see whether the open succeeded or not and print the reason when it fails.
In reply to Re: Nested line buffered output
by Anonymous Monk
in thread Nested line buffered output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |