in reply to How can I unzip certain file in zip file?
use strict; use CGI; # You have to get the zip filename from the form elements o +f an HTML page using the cgi->param method my $cgi = new CGI; my $zipName = $cgi->param('Zipfilenm'); # the Archive::Zip methods can be used here with the $zipNa +me as the parameter and I guess the global parameter ($opt_h) is for +the option of the command line processing of the file , hence can be +avoided and need not like use Getopts::Std and avoid error processin +g with ARGV , but choose to process errors in the form where you get +the zipName and stuff , then you should be all set
|
|---|