Email::MIME::Kit::KitReader::SWAK - the swiss army knife of EMK kit readers
version 1.093062
This replaces and extends the standard (Dir) kit reader for Email::MIME::Kit, letting your kit refer to resources in locations other than the kit itself.
In your manifest (assuming it's YAML, for readability):
--- kit_reader: SWAK attachments: - type: text/html path: template.html - type: text/plain path: /dist/Your-App/config.conf - type: text/plain path: /fs/etc/motd
This will find the first file in the kit (the absolute path prefix /kit could also be used), the second file in the File::ShareDir shared dist space for the Your-App, and the third file on the root filesystem.
SWAK may be given a fs_root option to start the contents of /fs somewhere other than root.
fs_root
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Email::MIME::Kit::KitReader::SWAK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::MIME::Kit::KitReader::SWAK
CPAN shell
perl -MCPAN -e shell install Email::MIME::Kit::KitReader::SWAK
For more information on module installation, please visit the detailed CPAN module installation guide.