Were you thinking of something like the IO::Dir interface for walking the contents of the tar file, or something to handle each of the files within? How would you handle tar archives where there are multiple copies of the same file in the archive?
The difference (which you, but not those asking, may already know) between the other two file types and a tar archive is that the first two are single files, while a tar archive is more like a directory, with the potential of multiple instances of a file within.
Update: Does nextStream from IO::Uncompress::AnyUncompress do what you are thinking of for getting individual files from the archive? Is that the interface you are considering?
--MidLifeXis
In reply to Re: Is there an IO::*-like interface for accessing tar files?
by MidLifeXis
in thread Is there an IO::*-like interface for accessing tar files?
by atcroft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |