Hi Friends
I've a perl script to download (using LWP::UserAgent) a winzip file containing only one txt file, extract certain data (using IO::Uncompress::Unzip) from this file & delete downloaded zip file after processing.
Problem with IO::Uncompress::Unzip is that it takes only the file (on disk) as input.
Whereas, the HTML::Response object returned by LWP::UserAgent::get() method contains the downloaded content in string (in memory). So, I want to eliminate the writing of zipfile to filesystem completely & consume the in-memory compressed buffer for processing.
Can I please know, do we've a perl module that can take winzip compressed in-memory data (as scalar or scalar-reference) and provide the uncompressed data as stream or a memory buffer?
Thanks