NAME

App::Zapzi::Distributors::Script - distribute a published eBook by running a script

VERSION

version 0.015

DESCRIPTION

This class runs a script on a completed eBook. The filename is passed to the script as the first parameter. The script should return 0 on success or any other code as failure. Any output from the script will be passed back to the caller in the completion message.

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) 2014 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.