in reply to Re^3: Is there an IO::*-like interface for accessing tar files?
in thread Is there an IO::*-like interface for accessing tar files?

Yes, ideally a way to access (iterate through?) the contained files, and for a particular contained file a way to read line by line through that file.

  • Comment on Re^4: Is there an IO::*-like interface for accessing tar files?

Replies are listed 'Best First'.
Re^5: Is there an IO::*-like interface for accessing tar files?
by MidLifeXis (Monsignor) on Feb 26, 2015 at 15:17 UTC

    I wonder if you couldn't create a thin layer over Archive::Tar providing the IO::Dir interface for the TAR file itself, a method for opening the file name providing an IO::$something (IO::Handle perhaps) interface for a file handle created out of a scalarref from the Archive::Tar::File's get_content_by_ref method.

    Interested in this because I have a similar use case a couple of layers down on my todo list.

    --MidLifeXis