use strict; use Archive::Zip; #read the .jar file my $zip = Archive::Zip->new( 'helloworld.jar' ); # extract what you want my $file = "content/helloworld/helloworldOverlay.js"; my $member = $zip->extractMember($file); # do something with the file $file # now add it back $zip->removeMember($member); $zip->addFile($file); $zip->overwrite();
In reply to Re: Explain Archive::Zip to me please?
by johnnywang
in thread Explain Archive::Zip to me please?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |