in reply to Explain Archive::Zip to me please?
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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Explain Archive::Zip to me please?
by Cody Pendant (Prior) on Sep 11, 2005 at 07:16 UTC |