in reply to Re^5: help with unraring
in thread help with unraring
My code is same as i have shown earlier
use Archive::Unrar qw(list_files_in_archive %donotprocess process_file +); use IO::CaptureOutput qw(capture); my @files; { local ($stdout, $stderr); capture sub {list_files_in_archive( file=>"C:/perl2exe/For perl 5.10. +1/test.rar" ,undef)}, \$stdout, \$stderr; @files=map {/Archive contents : (.*)/ } split ("\n",$stdout); } foreach (@files) { print "file ",++$i," : ",$_,"\n"; } ($result,$directory) = process_file( file=>'C:/perl2exe/For perl 5.10.1/test.ra +r', password=>undef, output_dir_path=>"C:/extract/", ); } print "$result"; print "$directory";
$result gives me the chain error
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: help with unraring
by nikosv (Deacon) on Apr 25, 2012 at 09:20 UTC | |
by gautamparimoo (Beadle) on Apr 25, 2012 at 10:20 UTC | |
by nikosv (Deacon) on Apr 25, 2012 at 11:02 UTC | |
by gautamparimoo (Beadle) on Apr 26, 2012 at 13:04 UTC | |
by marto (Cardinal) on Apr 26, 2012 at 13:07 UTC | |
by afoken (Chancellor) on Apr 25, 2012 at 10:14 UTC | |
by nikosv (Deacon) on Apr 25, 2012 at 10:26 UTC | |
by gautamparimoo (Beadle) on Apr 25, 2012 at 10:40 UTC |