Subject: | Bug in Archive::Tar::Streamed |
Date: | Sat, 21 Sep 2013 23:34:31 +0530 |
To: | bug-Archive-Tar-Streamed [...] rt.cpan.org |
From: | "John Wesly . J" <wesfaith [...] gmail.com> |
Hi,
I'm using the following code snippet.
*my $tar2 = Archive::Tar::Streamed->new($filename);*
Show quoted text
> *while(my $fil = $tar2->next()) {*
> * print "\n".$fil->name;*
> *}*
>
My Tar is very huge and the directory structure is,
--folder1
Show quoted text>
----folder2
------folder3
--------file1
--------file2
--------file3
--------file4
--------file5
--------file6
Expected Output is,
folder1/folder2/folder3/file1
folder1/folder2/folder3/file1
folder1/folder2/folder3/file1
folder1/folder2/folder3/file1
folder1/folder2/folder3/file1
folder1/folder2/folder3/file1
Actual Output is,
folder1/folder2/folder3/file1
folder1/folder2/folder3/file2
folder1/folder2/folder3/file3
folder1/folder2/folder3/file4
folder1/folder2/folder3/file5
folder1/folder2/folder3/file6
Can you please tell if this is a bug???
I've an urgent requirement where i need to extract single file from a huge
tgz file of size more than 10GB.
Please help.
Regards,
John Wesly J.