Ricardo SIGNES > Dist-Zilla > Dist::Zilla::Role::FileInjector

Download:
Dist-Zilla-5.019.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 5.019   Source  

NAME ^

Dist::Zilla::Role::FileInjector - something that can add files to the distribution

VERSION ^

version 5.019

DESCRIPTION ^

This role should be implemented by any plugin that plans to add files into the distribution. It provides one method ("add_file", documented below), which adds a file to the distribution, noting the place of addition.

METHODS ^

add_file

  $plugin->add_file($dzil_file);

This adds a file to the distribution, setting the file's added_by attribute as it does so.

AUTHOR ^

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 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.

syntax highlighting: