NAME
Finance::DST::FAN::Mail::Download::Plugin::Split - Split files after downloading
DESCRIPTION
This role is a plugin for Finance::DST::FAN::Mail::Download. After downloading, it will read a file to determine if there is more than one logical file type in the physical file and if so, split it into multiple files.
METHODS
_split $file
Open $file
(a Path::Class::File
) and split it into multiple files if necessary. Returns a list of Path::Class::File
objects representing the new set of files. Files will be use the same naming scheme Rename
uses.
download_and_split
Will performa normal download operation and then return a list of Path::Class::File
objects representing all the new files.
SEE ALSO
Finance::DST::FAN::Mail::Download, Finance::DST::FAN::Mail::Download::Plugin::Unzip Finance::DST::FAN::Mail::Download::Plugin::Rename
AUTHOR
Guillermo Roditi (groditi) <groditi@cpan.org>
BUGS, FEATURE REQUESTS AND CONTRIBUTIONS
Google Code Project Page - http://code.google.com/p/finance-dst-fan-mail/
LICENSE
You may distribute this code under the same terms as Perl itself.