Email::MIME::Kit::KitReader::SWAK - the swiss army knife of EMK kit readers
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.
Ricardo SIGNES <email@example.com>
This software is copyright (c) 2011 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.