Jerome Quelin > Dist-Zilla-Plugin-Prepender-1.112280 > Dist::Zilla::Plugin::Prepender

Download:
Dist-Zilla-Plugin-Prepender-1.112280.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.112280   Source  

NAME ^

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

VERSION ^

version 1.112280

SYNOPSIS ^

In your dist.ini:

    [Prepender]
    copyright = 0
    line = use strict;
    line = use warnings;
    skip = t/data/.+\.pl
    skip = something-else-unnecessary

DESCRIPTION ^

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:

SEE ALSO ^

You can look for information on this module at:

AUTHOR ^

Jerome Quelin

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2009 by Jerome Quelin.

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: