atcroft has asked for the wisdom of the Perl Monks concerning the following question:
Can anyone recommend a module that would provide an IO::*-like interface for accessing tar files?
In a recent project at $work, I used IO::File and IO::Uncompress::AnyUncompress to simplify processing of compressed (bzip2 or gzip) or uncompressed files. (For example, reading lines via $foo->getline(), or current line number by $foo->input_line_number.) Now, I have been asked to add processing for tar archives. While I have used Archive::Tar for processing tar archives before, I was hoping that there might be module that could provide an IO::*-like interface so I could minimize the changes needed to add the support.
Thank you for your time and attention, and any direction you may provide.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there an IO::*-like interface for accessing tar files?
by MidLifeXis (Monsignor) on Feb 25, 2015 at 18:30 UTC | |
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 | |
|
Re: Is there an IO::*-like interface for accessing tar files?
by BrowserUk (Patriarch) on Feb 25, 2015 at 20:20 UTC | |
by atcroft (Abbot) on Feb 25, 2015 at 23:52 UTC |