If you open the a.tgz using Archive::Tar->new(), it appears you could use get_content to retrieve the contents of the internal tar, and then use Archive::Tar->new(data=>...) to open it. Repeat this to access the files further in. I haven't actually done this, but it looks possible based on the docs. It could potentially take up a great deal of memory.
In reply to Re: Extracting data from nested tgz files use Archive::Tar
by GotToBTru
in thread Extracting data from nested tgz files use Archive::Tar
by jhuijsing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |