|Welcome to the Monastery|
Re^3: tar, system() & pipes?by BrowserUk (Patriarch)
|on Jul 17, 2007 at 20:46 UTC ( #627125=note: print w/replies, xml )||Need Help??|
If the intention is to read the output file back into your program once tar is finished, you could bypass the filesystem by using a piped-open:
(See the docs for perlfuncopen and perlopentut)
## do stuff with the tar output could be as simple as print FILE $_;.
See also IO::Pipe.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section Seekers of Perl Wisdom