Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I am using the Archive::Rar module to unrar a file and then extract it to user defined folder. But it is extracting in the cwd even when i have given to=>'diretory'. PLz help in extracting to user defined folder
my $archive= 'text-test.rar'; my $destinationDirectory = 'C:/tmp'; my $rar = Archive::Rar->new( -archive => $archive ); foreach my $member ($rar->List( )) { $member = $rar->Extract( to => '$destinationDirectory');
Also i cannot make this module work on a 64 bit windows machine. Is it not 64bit compliant ? Also how to specify user defined folder to extract?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with Archive::Rar
by Corion (Patriarch) on Apr 10, 2012 at 09:03 UTC | |
by Anonymous Monk on Apr 10, 2012 at 09:07 UTC | |
by Corion (Patriarch) on Apr 10, 2012 at 09:12 UTC | |
by Anonymous Monk on Apr 10, 2012 at 11:08 UTC | |
by marto (Cardinal) on Apr 10, 2012 at 11:18 UTC | |
by Corion (Patriarch) on Apr 10, 2012 at 11:16 UTC | |
|
Re: Help with Archive::Rar
by CountZero (Bishop) on Apr 10, 2012 at 21:35 UTC | |
by gautamparimoo (Beadle) on Apr 11, 2012 at 12:50 UTC | |
by marto (Cardinal) on Apr 11, 2012 at 13:04 UTC | |
by CountZero (Bishop) on Apr 11, 2012 at 19:10 UTC | |
by Anonymous Monk on Apr 12, 2012 at 05:09 UTC | |
by CountZero (Bishop) on Apr 12, 2012 at 06:20 UTC |