Dist::Zilla::Plugin::Prepender - prepend lines at the top of your perl files


Dist-Zilla-Plugin-Prepender documentation  | view source Contained in the Dist-Zilla-Plugin-Prepender distribution.

Index


NAME

Top

Dist::Zilla::Plugin::Prepender - prepend lines at the top of your perl files

VERSION

Top

version 1.103470

SYNOPSIS

Top

In your dist.ini:

    [Prepender]
    copyright = 0
    line = use strict;
    line = use warnings;

DESCRIPTION

Top

This plugin will prepend the specified lines in each Perl module or program within the distribution. For scripts having a shebang line, lines will be inserted just after it.

This is useful to enforce a set of pragmas to your files (since pragmas are lexical, they will be active for the whole file), or to add some copyright comments, as the fsf recommends.

The module accepts the following options in its dist.ini section:

* line - anything you want to add. may be specified multiple times. no default.

SEE ALSO

Top

You can look for information on this module at:

* Search CPAN

http://search.cpan.org/dist/Dist-Zilla-Plugin-Prepender

* See open / report bugs

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-Zilla-Plugin-Prepender

* Mailing-list (same as Dist::Zilla)

http://www.listbox.com/subscribe/?list_id=139292

* Git repository

http://github.com/jquelin/dist-zilla-plugin-prepender

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Dist-Zilla-Plugin-Prepender

* CPAN Ratings

http://cpanratings.perl.org/d/Dist-Zilla-Plugin-Prepender

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Dist-Zilla-Plugin-Prepender documentation  | view source Contained in the Dist-Zilla-Plugin-Prepender distribution.