But in your case that won't help you at all, because you're slurping input into a variable at once, which means a chunk by chunk processing can't happen.
What you can do is to sest local $/ = 'END-OF-DOCUMENT' and thus read the file block by block (assuming you actually have multiple such blocks in your file).
In reply to Re: Using output again without printing
by moritz
in thread Using output again without printing
by micwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |