ganeshk has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I want to unzip a Zip file(uploaded from browser) in a
CGI program.
I just get the file handle for the zip file.
This is the Data::Dumper output of the object
I am using Archive::Zip module. So I guess I should do
something like this
IO::File object. So how can I convert the file handle
object to the IO::File object.
Thanks in advance for the answers. I
I want to unzip a Zip file(uploaded from browser) in a
CGI program.
I just get the file handle for the zip file.
This is the Data::Dumper output of the object
bless( \*{'Fh::fh00001test.zip'}, 'Fh' )
I am using Archive::Zip module. So I guess I should do
something like this
But what the readFromFileHandle method expects anmy $zip = Archive::Zip->new(); $zip->readFromFileHandle($fh);
IO::File object. So how can I convert the file handle
object to the IO::File object.
Thanks in advance for the answers. I
Back to
Seekers of Perl Wisdom