
Finance::DST::FAN::Mail::Download::Plugin::Unzip - Unzip files after downloading

This role is a plugin for Finance::DST::FAN::Mail::Download. It extends the download operation and automatically unzips the file after the download is complete. All methods and attributes will be automatically consumed by that class at load time.

Read-write required boolean, defaults to true. When set to true the zip file will be deleted after successful extraction.

around '_download'.
Wraps the download method and calls _unzip after downloading.
the value returned by _download will be the name of the unziped file.
Will decompress the ziped file and return the unziped filename.
Will also delete the ziped file if unlink_after_download is true

Finance::DST::FAN::Mail::Download, Finance::DST::FAN::Mail::Download::Plugin::Rename Finance::DST::FAN::Mail::Download::Plugin::Split

Please see Finance::DST::FAN::Mail for more information.