in reply to Is there an IO::*-like interface for accessing tar files?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there an IO::*-like interface for accessing tar files?
by atcroft (Abbot) on Feb 25, 2015 at 23:51 UTC | |
by MidLifeXis (Monsignor) on Feb 26, 2015 at 12:58 UTC | |
by atcroft (Abbot) on Feb 26, 2015 at 14:54 UTC | |
by MidLifeXis (Monsignor) on Feb 26, 2015 at 15:17 UTC |