I also used the
* $Archive::Extract::DEBUG = 1;*
to see the debug obtaining:
*francesco@octopus:~/test$ perl extract_file.pl <
http://extract_file.pl>
../ann_works/data/2014_03/uniprot_trembl.fasta.gz*
*# Extracting with ->_gunzip_bin*
*Running [/bin/gzip -cdf
/home/francesco/test/../ann_works/data/2014_03/uniprot_trembl.fasta.gz]...*
*^C*
This is my perl script:
*#!/usr/bin/perl*
*use strict;*
*use warnings;*
*use Archive::Extract;*
*my $input = $ARGV[0];*
*my $output = "ext";*
*extractFile($input, $output);*
*sub extractFile{*
* my $input = shift;*
* my $outDir = shift;*
* my $ae = Archive::Extract->new( archive => $input);*
* $Archive::Extract::PREFER_BIN =1;*
* $Archive::Extract::DEBUG = 1;*
* my $ok = $ae->extract( to => $output );*
* #my @files = $ae->files;*
* my $path = File::Spec->catfile( $output, $ae->files->[0] );*
* printf "Decompression of ".$input." finished: ".$path."\n";*
*}*
2014-03-26 10:24 GMT+01:00 Bugs in Archive-Extract via RT <
bug-Archive-Extract@rt.cpan.org>:
Show quoted text>
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "Out of memory",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #94200]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=94200
>
> Please include the string:
>
> [rt.cpan.org #94200]
>
> in the subject line of all future correspondence about this issue. To do
> so,
> you may reply to this message.
>
> Thank you,
> bug-Archive-Extract@rt.cpan.org
>
> -------------------------------------------------------------------------
> Hi Dr Boumans,
> I was using your module Archive::Extract and I had an *Out of Memory* error
> even if I used $Archive::Extract::PREFER_BIN = 1;
> Is it a bug?
>
> The problem is that in error() is not coming something and the script
> blocks without giving any error but Out of Memory.
>
> Hope the description can help
>
> best regards
> Francesco Musacchia
> --
> Francesco Musacchia - Ph.D.
> Bioinformatics - Animal Physiology and Evolution
> Stazione Zoologica Anton Dohrn
> Villa Comunale, 80121 Napoli - Italy
> *+39 349 6396351*
>
--
Francesco Musacchia - Ph.D.
Bioinformatics - Animal Physiology and Evolution
Stazione Zoologica Anton Dohrn
Villa Comunale, 80121 Napoli - Italy
*+39 349 6396351*