Sushant_K has asked for the wisdom of the Perl Monks concerning the following question:
For perl-5.20.1, it gives out of memory error when Archive::Tar->new() is called. I am trying this out on Windows. Can anyone help me out ? Please let me know you require any more information.use Archive::Tar; my $bundle = "C:\\My_Sample.tar.gz"; my $tar_engine = Archive::Tar->new($bundle, 1); if($tar_engine == undef) { print "\nCant get tar object\n"; } else { my @filelist = $tar_engine->list_files(); if(!$tar_engine->extract(@filelist)) { my $ret = 1; print "\nError in extraction.\n"; } } print "\nCompleted Successfully\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Archive::Tar is working with perl-5.8.7 but giving Out Of Memory error with perl-5.20.1
by fishmonger (Chaplain) on Mar 28, 2015 at 19:27 UTC | |
|
Re: Archive::Tar is working with perl-5.8.7 but giving Out Of Memory error with perl-5.20.1
by CountZero (Bishop) on Mar 29, 2015 at 17:08 UTC | |
by Sushant_K (Initiate) on Mar 30, 2015 at 09:28 UTC | |
|
Re: Archive::Tar is working with perl-5.8.7 but giving Out Of Memory error with perl-5.20.1
by afoken (Chancellor) on Mar 30, 2015 at 13:08 UTC | |
by Sushant_K (Initiate) on Apr 29, 2015 at 06:28 UTC | |
by Anonymous Monk on Apr 29, 2015 at 06:39 UTC |