Using IO::Handle, you can control how output to a filehandle is flushed. In your situation, you may need to go in and make a small change to the print sub in Twig.pm.
Nonsense. If you don't want to build a giant tree in memory, you don't have to, print as soon as possible.
In reply to Re^2: XML-Twig: Tree building and printing
by Anonymous Monk
in thread XML-Twig: Tree building and printing
by zuma53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |