The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Zapzi::Roles::Distributor - role definition for distributor modules

VERSION

version 0.017

DESCRIPTION

This defines the distributor role for Zapzi. Distributors take a published eBook and send it somewhere else, eg copy to a reader, send by email, run a script on it.

ATTRIBUTES

file

eBook file to distribute.

destination

Where to send the file, eg another directory or an email address

completion_message

Message from the distributer after completion - should be set in both error and success cases.

REQUIRED METHODS

name

Name of distributor visible to user.

distribute

Distribute the file. Returns 1 if OK, undef if failed.

AUTHOR

Rupert Lane <rupert@rupert-lane.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Rupert Lane.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.