Nice tricks. :-) It's not truly streaming in that it still keeps each archive member file in memory though. Nevertheless, in the common case that's going to be much better than keeping the entire archive in memory.
It might be more efficient to keep the same Archive::Tar object around, calling clear() on it when you're done with a stream chunk, instead of instantiating a new one at every step.
Makeshifts last the longest.
In reply to Re: RFC: Archive::Tar::Streamed
by Aristotle
in thread RFC: Archive::Tar::Streamed
by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |