Skip Menu |

This queue is for tickets about the Archive-Any-Plugin-Rar CPAN distribution.

Report information
The Basics
Id: 58336
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Archive-Any-Plugin-Rar

People
Owner: MRGRIPH [...] cpan.org
Requestors: d_ion [...] mail.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: unnecessary output from rar command on extraction
Date: Fri, 11 Jun 2010 18:27:11 +0400
To: bug-Archive-Any-Plugin-Rar [...] rt.cpan.org
From: Dima <d_ion [...] mail.ru>
Hi! I've noted that extraction of files goes somewhat noisy - with output directly from rar command getting through. Both Zip and Tar modules keep silence on extraction though. So, this little "fix" here should tone it down. sub extract { my ( $self, $file ) = @_; - my $t = Archive::Rar->new( -archive => $file ); + my $t = Archive::Rar->new( -archive => $file, + -quiet => 'True' ); return $t->Extract; }
Fixed. Птн Июн 11 10:27:22 2010, d_ion@mail.ru писал: Show quoted text
> Hi! I've noted that extraction of files goes somewhat noisy - with > output directly from rar command getting through. > Both Zip and Tar modules keep silence on extraction though. > So, this little "fix" here should tone it down. > > sub extract { > my ( $self, $file ) = @_; > > - my $t = Archive::Rar->new( -archive => $file ); > + my $t = Archive::Rar->new( -archive => $file, > + -quiet => 'True'
); Show quoted text
> return $t->Extract; > } >